diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2016-05-04 20:43:12 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2016-05-04 21:55:01 +0200 |
commit | c7eef63e8a33d7811ba9f242b5762dde55366526 (patch) | |
tree | d3f4ad52698b990e970b182379a24c8c84dcfdd3 /cabal-helper.cabal | |
parent | 93ea1d6aa14fb7f8a0d42cd167e3a363fc541066 (diff) |
Fix Cabal-1.24.0.0
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r-- | cabal-helper.cabal | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal index d5723ca..58bac7b 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -49,7 +49,7 @@ library default-language: Haskell2010 GHC-Options: -Wall Build-Depends: base >= 4.5 && < 5 - , Cabal >= 1.14 && < 1.24 + , Cabal >= 1.14 && < 1.25 , directory , filepath , transformers @@ -73,7 +73,7 @@ Executable cabal-helper-wrapper X-Install-Target: $libexecdir Build-Depends: base >= 4.5 && < 5 , bytestring - , Cabal >= 1.14 && < 1.24 + , Cabal >= 1.14 && < 1.25 , directory , filepath , process @@ -83,6 +83,22 @@ Executable cabal-helper-wrapper , utf8-string , ghc-prim +Executable cabal-helper-main + if flag(dev) + Buildable: True + else + Buildable: False + Default-Language: Haskell98 + Main-Is: CabalHelper/Main.hs + Other-Modules: + GHC-Options: -Wall -fno-warn-unused-imports -optP-DCABAL_MAJOR=1 -optP-DCABAL_MINOR=24 -optP-DCABAL_HELPER=1 -optP-DCABAL_HELPER_DEV=1 + Build-Depends: base + , Cabal + , containers + , bytestring + , filepath + , directory + Test-Suite spec Default-Language: Haskell2010 Type: exitcode-stdio-1.0 @@ -102,7 +118,7 @@ Test-Suite spec , cabal-helper , extra , unix - , Cabal >= 1.14 && < 1.24 + , Cabal >= 1.14 && < 1.25 , directory , filepath , transformers @@ -113,3 +129,8 @@ Test-Suite spec , utf8-string , template-haskell , temporary + +flag dev + description: Build development components + default: False + manual: True
\ No newline at end of file |