summaryrefslogtreecommitdiffstats
path: root/blessings.cabal
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2019-01-29 23:03:22 +0100
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2019-02-05 20:52:24 +0100
commitfa87fc922cd4c34b46baa32be762dda495ef6a2b (patch)
treebcd0600a8ba714278a74d210232f2363475d2d06 /blessings.cabal
parente75d0cf94582a5aa6dde781b8428ffff45cf7e76 (diff)
Blessings: add test
~ change SGR type to Word8 + add hspec with QuickCheck
Diffstat (limited to 'blessings.cabal')
-rw-r--r--blessings.cabal13
1 files changed, 12 insertions, 1 deletions
diff --git a/blessings.cabal b/blessings.cabal
index e5b0c7d..4b1570a 100644
--- a/blessings.cabal
+++ b/blessings.cabal
@@ -1,6 +1,6 @@
author: tv
build-type: Simple
-cabal-version: >= 1.2
+cabal-version: >= 1.8
license: MIT
name: blessings
version: 2.1.0
@@ -17,6 +17,17 @@ library
ghc-options: -O2 -Wall
hs-source-dirs: src
+test-suite test-blessings
+ build-depends:
+ base,
+ blessings,
+ hspec,
+ QuickCheck
+ ghc-options: -Wall
+ hs-source-dirs: test
+ main-is: Spec.hs
+ type: exitcode-stdio-1.0
+
source-repository head
location: https://cgit.krebsco.de/blessings
type: git