diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-10-04 16:57:44 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-01-18 14:10:26 +0100 |
commit | 3b7d095a2fde8c031a987dd00aff4ad8e7421cf0 (patch) | |
tree | feb9c5fc5386718aa213b9180ca22e662a1c363d /cabal-helper.cabal | |
parent | 566787223253e63f45352b83a525e5dadf1fb82e (diff) |
Add a test which brings up a GHC session
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r-- | cabal-helper.cabal | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal index 2062562..80002b3 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -35,6 +35,15 @@ cabal-version: >=1.14 extra-source-files: README.md src/CabalHelper/Runtime/*.hs + tests/*.hs + + tests/exelib/*.hs + tests/exelib/lib/*.hs + + tests/exeintlib/*.hs + tests/exeintlib/lib/*.hs + tests/exeintlib/intlib/*.hs + source-repository head type: git location: https://github.com/DanielG/cabal-helper.git @@ -155,6 +164,34 @@ test-suite compile-test , utf8-string < 1.1 && >= 1.0.1.1 , ghc-prim +test-suite ghc-session + default-language: Haskell2010 + default-extensions: NondecreasingIndentation + type: exitcode-stdio-1.0 + main-is: GhcSession.hs + hs-source-dirs: tests, src + ghc-options: -Wall + build-depends: base < 5 && >= 4.5 + , ghc < 8.3 && >= 7.4 + , ghc-paths < 0.2 && >= 0.1.0.9 + , cabal-helper + + -- Same as cabal-helper-wrapper + build-depends: base < 5 && >= 4.5 + , Cabal < 2.1 && >= 2.0 || < 1.26 && >= 1.14 + , bytestring < 0.11 && >= 0.9.2.1 + , directory < 1.4 && >= 1.1.0.2 + , exceptions < 0.9 && >= 0.8.3 + , filepath < 1.5 && >= 1.3.0.0 + , mtl < 2.3 && >= 2.0 + , process < 1.7 && >= 1.1.0.1 + , template-haskell < 2.13 && >= 2.7.0.0 + , temporary < 1.3 && >= 1.2.0.4 + , transformers < 0.6 && >= 0.3.0.0 + , unix < 2.8 && >= 2.5.1.1 + , utf8-string < 1.1 && >= 1.0.1.1 + , ghc-prim + executable cabal-helper-main default-language: Haskell2010 default-extensions: NondecreasingIndentation |