X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=hath.cabal;h=12f811a229bf19ec18e891ab6a7994483bae2ceb;hb=e1d16438b44ecd962565756a828c9ed8014cf894;hp=2ea92c0ef3c37ba85ee43ea1be4c7a3d30ad4902;hpb=d32fe2f0a6c83ba3046a405eda40f83c794c000d;p=hath.git diff --git a/hath.cabal b/hath.cabal index 2ea92c0..12f811a 100644 --- a/hath.cabal +++ b/hath.cabal @@ -1,5 +1,5 @@ name: hath -version: 0.0 +version: 0.0.1 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -13,6 +13,8 @@ executable hath base == 4.*, HUnit == 1.2.*, QuickCheck == 2.6.*, + MissingH == 1.2.*, + split == 0.2.*, test-framework == 0.8.*, test-framework-hunit == 0.3.*, test-framework-quickcheck2 == 0.3.* @@ -34,9 +36,6 @@ executable hath -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -funbox-strict-fields - -fexcess-precision - -fno-spec-constr-count -rtsopts -threaded -optc-O3 @@ -47,3 +46,41 @@ executable hath -prof -auto-all -caf-all + + +test-suite testsuite + type: exitcode-stdio-1.0 + hs-source-dirs: src test + main-is: TestSuite.hs + build-depends: + base == 4.*, + HUnit == 1.2.*, + QuickCheck == 2.6.*, + MissingH == 1.2.*, + split == 0.2.*, + test-framework == 0.8.*, + test-framework-hunit == 0.3.*, + test-framework-quickcheck2 == 0.3.* + + -- 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/hath.git + branch: master