aboutsummaryrefslogtreecommitdiff
path: root/cabal-helper.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r--cabal-helper.cabal55
1 files changed, 32 insertions, 23 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index 58bac7b..4d18a71 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.25
+ , Cabal >= 1.14 && < 1.26
, 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.25
+ , Cabal >= 1.14 && < 1.26
, directory
, filepath
, process
@@ -83,22 +83,6 @@ 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
@@ -118,7 +102,7 @@ Test-Suite spec
, cabal-helper
, extra
, unix
- , Cabal >= 1.14 && < 1.25
+ , Cabal >= 1.14 && < 1.26
, directory
, filepath
, transformers
@@ -130,7 +114,32 @@ Test-Suite spec
, template-haskell
, temporary
-flag dev
- description: Build development components
- default: False
- manual: True \ No newline at end of file
+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
+-- if flag(dev)
+-- 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
+-- , Cabal
+-- , containers
+-- , bytestring
+-- , filepath
+-- , directory
+--
+-- flag dev
+-- description: Build development components
+-- default: False
+-- manual: True