summaryrefslogtreecommitdiff
path: root/fountainhead.cabal
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-02-07 10:40:00 +0100
committerEugen Wissner <belka@caraus.de>2024-02-07 10:40:00 +0100
commitc5f715ac7cdfb663fc84cb9fe841903b5aed99c5 (patch)
tree698f1bb31fcfbca25f19d2cd31f94390d0bf47ba /fountainhead.cabal
parent23271d6f6cf033230106f07ae14985f3b85f906a (diff)
downloadfountainhead-c5f715ac7cdfb663fc84cb9fe841903b5aed99c5.tar.gz
Extract some convenience parsing functions
Diffstat (limited to 'fountainhead.cabal')
-rw-r--r--fountainhead.cabal12
1 files changed, 12 insertions, 0 deletions
diff --git a/fountainhead.cabal b/fountainhead.cabal
index 7af36e5..8acb0c1 100644
--- a/fountainhead.cabal
+++ b/fountainhead.cabal
@@ -65,3 +65,15 @@ executable fountainhead
time
hs-source-dirs: src
ghc-options: -Wall
+
+test-suite fountainhead-test
+ import: dependencies
+ type: exitcode-stdio-1.0
+ main-is: Spec.hs
+ hs-source-dirs: test
+ other-modules:
+ Graphics.Fountainhead.MetricsSpec
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-depends:
+ fountainhead,
+ hspec >= 2.9 && < 3