aboutsummaryrefslogtreecommitdiff
path: root/cabal-helper.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r--cabal-helper.cabal64
1 files changed, 28 insertions, 36 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index e24fe15..4570d48 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -44,12 +44,12 @@ source-repository head
library
exposed-modules: Distribution.Helper
- Other-Modules: Paths_cabal_helper
+ other-modules: Paths_cabal_helper
, CabalHelper.Types
, CabalHelper.Sandbox
default-language: Haskell2010
- GHC-Options: -Wall
- Build-Depends: base < 5 && >= 4.5
+ ghc-options: -Wall
+ build-depends: base < 5 && >= 4.5
, Cabal < 1.26 && >= 1.14
, directory < 1.4 && >= 1.1.0.2
, filepath < 1.5 && >= 1.3.0.0
@@ -58,11 +58,11 @@ library
, process < 1.5 && >= 1.1.0.1
, ghc-prim
-Executable cabal-helper-wrapper
- Default-Language: Haskell2010
- Other-Extensions: TemplateHaskell
- Main-Is: CabalHelper/Wrapper.hs
- Other-Modules: Paths_cabal_helper
+executable cabal-helper-wrapper
+ default-language: Haskell2010
+ other-extensions: TemplateHaskell
+ main-is: CabalHelper/Wrapper.hs
+ other-modules: Paths_cabal_helper
CabalHelper.Types
CabalHelper.Common
CabalHelper.GuessGhc
@@ -70,9 +70,9 @@ Executable cabal-helper-wrapper
CabalHelper.Compile
CabalHelper.Log
CabalHelper.Sandbox
- GHC-Options: -Wall
+ ghc-options: -Wall
x-internal: True
- Build-Depends: base < 5 && >= 4.5
+ build-depends: base < 5 && >= 4.5
, Cabal < 1.26 && >= 1.14
, bytestring < 0.11 && >= 0.9.2.1
, directory < 1.4 && >= 1.1.0.2
@@ -86,11 +86,11 @@ Executable cabal-helper-wrapper
, template-haskell
, ghc-prim
-Test-Suite spec
- Default-Language: Haskell2010
- Type: exitcode-stdio-1.0
- Main-Is: Spec.hs
- Other-Modules: CabalHelper.Common
+test-suite spec
+ default-language: Haskell2010
+ type: exitcode-stdio-1.0
+ main-is: Spec.hs
+ other-modules: CabalHelper.Common
CabalHelper.Compile
CabalHelper.Data
CabalHelper.Log
@@ -98,10 +98,10 @@ Test-Suite spec
CabalHelper.Types
Distribution.Helper
Paths_cabal_helper
- Hs-Source-Dirs: tests, .
- GHC-Options: -Wall
- Build-Tools: cabal
- Build-Depends: base < 5 && >= 4.5
+ hs-source-dirs: tests, .
+ ghc-options: -Wall
+ build-tools: cabal
+ build-depends: base < 5 && >= 4.5
, Cabal < 1.26 && >= 1.14
, bytestring < 0.11 && >= 0.9.2.1
, directory < 1.4 && >= 1.1.0.2
@@ -120,28 +120,20 @@ Test-Suite spec
, ghc-prim
, cabal-helper
-
-
-
--- custom-setup
--- setup-depends: base,
--- Cabal,
--- filepath
-
-- TODO: Use cabal_macros.h to replace -D flags by including it in
-- CabalHelper.Data
--
--- Executable cabal-helper-main
+-- executable cabal-helper-main
-- if flag(dev)
--- Buildable: True
+-- buildable: True
-- else
--- Buildable: False
--- Default-Language: Haskell2010
--- Default-Extensions: NondecreasingIndentation
--- Main-Is: CabalHelper/Main.hs
--- Other-Modules:
--- GHC-Options: -Wall -fno-warn-unused-imports -optP-DCABAL_MAJOR=1 -optP-DCABAL_MINOR=25 -optP-DCABAL_HELPER=1 -optP-DCABAL_HELPER_DEV=1
--- Build-Depends: base
+-- buildable: False
+-- default-language: Haskell2010
+-- default-extensions: NondecreasingIndentation
+-- main-is: CabalHelper/Main.hs
+-- other-modules:
+-- ghc-options: -Wall -fno-warn-unused-imports -optP-DCABAL_MAJOR=1 -optP-DCABAL_MINOR=25 -optP-DCABAL_HELPER=1 -optP-DCABAL_HELPER_DEV=1
+-- build-depends: base
-- , Cabal
-- , containers
-- , bytestring