Commit 548a30b9 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Make RecordWildCards a default extension.

See #207.
parent dfce0db8
......@@ -4,6 +4,7 @@
@set ghcArgs=--make ^
-Wall ^
-fno-warn-name-shadowing ^
-XRecordWildCards ^
src/Main.hs ^
-isrc ^
-rtsopts ^
......
......@@ -36,6 +36,7 @@ ghc \
"$root/src/Main.hs" \
-Wall \
-fno-warn-name-shadowing \
-XRecordWildCards \
-i"$root/src" \
-rtsopts \
-with-rtsopts=-I0 \
......
......@@ -108,13 +108,13 @@ executable ghc-shake
, Way
default-language: Haskell2010
default-extensions: RecordWildCards
other-extensions: DeriveDataTypeable
, DeriveGeneric
, FlexibleInstances
, GeneralizedNewtypeDeriving
, LambdaCase
, OverloadedStrings
, RecordWildCards
, ScopedTypeVariables
build-depends: base >= 4.8 && < 5
, ansi-terminal == 0.6.*
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Actions (
build, buildWithResources, copyFile, createDirectory, removeDirectory,
copyDirectory, moveDirectory, applyPatch, fixFile, runConfigure, runMake,
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Compile (compilePackage) where
import Base
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Data (buildPackageData) where
import qualified System.Directory as IO
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Dependencies (buildPackageDependencies) where
import Development.Shake.Util (parseMakefile)
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Documentation (buildPackageDocumentation) where
import Base
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Library (
buildPackageLibrary, buildPackageGhciLibrary, cSources, hSources
) where
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Program (buildProgram) where
import Data.Char
......
{-# LANGUAGE RecordWildCards #-}
module Rules.Register (registerPackage) where
import Base
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment