X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=htsn.cabal;h=55dca86e03ddd96e8e1aa34b04364ca6ad1d2116;hb=52e788e676ea2a67ad20b23d2e5c5b351f27b834;hp=ed97657a6ce55d4471514145ff76bde32a2cce77;hpb=5eece26fd6363c5f9af69762cd1c61fb95bd9091;p=dead%2Fhtsn.git diff --git a/htsn.cabal b/htsn.cabal index ed97657..55dca86 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -22,8 +22,11 @@ executable htsn configurator == 0.2.*, directory == 1.2.*, filepath == 1.3.*, + hslogger == 1.2.*, hxt == 9.3.*, network == 2.4.*, + tasty == 0.5.*, + tasty-hunit == 0.4.*, transformers == 0.3.*, unix == 2.6.* @@ -55,3 +58,47 @@ 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.*, + hslogger == 1.2.*, + 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