aboutsummaryrefslogtreecommitdiff
path: root/cabal-helper.cabal
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-12-16 17:43:47 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-01-22 03:06:51 +0100
commit344753970fa7bc929b62ea8c25a77bddfdee9f15 (patch)
treec9bdb977dbe00b4511d100a4bd04abd62bd975a3 /cabal-helper.cabal
parent227b8a3bf1302626339be3c35e3e4102fe8bc874 (diff)
Add example to show off cabal-helper's functionality
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r--cabal-helper.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index 5bcf6ba..f88891c 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -158,6 +158,14 @@ test-suite ghc-session
, cabal-helper
, c-h-internal
+test-suite examples
+ import: build-deps, extensions
+ type: exitcode-stdio-1.0
+ main-is: Examples.hs
+ hs-source-dirs: tests
+ ghc-options: -Wall
+ build-depends: cabal-helper
+
executable cabal-helper-main
default-language: Haskell2010
default-extensions: NondecreasingIndentation