X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=htsn.cabal;h=30bdb9bcca5d90180def22df1d9e93340d1ac102;hp=ed97657a6ce55d4471514145ff76bde32a2cce77;hb=91f4cfbc5214ad3a6db8dba09001639b905cab02;hpb=93c998a40aa28b0aba023aaa040866ded7d87ae9 diff --git a/htsn.cabal b/htsn.cabal index ed97657..30bdb9b 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -24,6 +24,8 @@ executable htsn filepath == 1.3.*, hxt == 9.3.*, network == 2.4.*, + tasty == 0.5.*, + tasty-hunit == 0.4.*, transformers == 0.3.*, unix == 2.6.* @@ -55,3 +57,46 @@ executable htsn -auto-all -caf-all + + +test-suite testsuite + type: exitcode-stdio-1.0 + hs-source-dirs: src test + main-is: TestSuite.hs + build-depends: + ansi-terminal == 0.6.*, + base == 4.*, + cmdargs >= 0.10.6, + configurator == 0.2.*, + directory == 1.2.*, + filepath == 1.3.*, + hxt == 9.3.*, + network == 2.4.*, + tasty == 0.5.*, + tasty-hunit == 0.4.*, + transformers == 0.3.*, + unix == 2.6.* + + -- It's not entirely clear to me why I have to reproduce all of this. + ghc-options: + -Wall + -fwarn-hi-shadowing + -fwarn-missing-signatures + -fwarn-name-shadowing + -fwarn-orphans + -fwarn-type-defaults + -fwarn-tabs + -fwarn-incomplete-record-updates + -fwarn-monomorphism-restriction + -fwarn-unused-do-bind + -rtsopts + -threaded + -optc-O3 + -optc-march=native + -O2 + + +source-repository head + type: git + location: http://michael.orlitzky.com/git/htsn.git + branch: master