From fa87fc922cd4c34b46baa32be762dda495ef6a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 29 Jan 2019 23:03:22 +0100 Subject: Blessings: add test ~ change SGR type to Word8 + add hspec with QuickCheck --- blessings.cabal | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'blessings.cabal') 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 -- cgit v1.2.3