X-Git-Url: http://gitweb.michael.orlitzky.com/?p=haeredes.git;a=blobdiff_plain;f=haeredes.cabal;fp=haeredes.cabal;h=4bfcf04090ffc23c3c41a2f2e49850c2ada84838;hp=f4a41215862f6c5c88ec09a97592edb03df1a88e;hb=020ce4ca32627a92a6ed47922543912a57195377;hpb=7b1f25b5a8f60c2f388eff66a4532f424820e1d6 diff --git a/haeredes.cabal b/haeredes.cabal index f4a4121..4bfcf04 100644 --- a/haeredes.cabal +++ b/haeredes.cabal @@ -138,6 +138,36 @@ test-suite doctests -optc-O3 -optc-march=native + +-- These won't work without shelltestrunner installed in your +-- $PATH. Maybe there is some way to tell Cabal that. +test-suite shelltests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: ShellTests.hs + + build-depends: + base == 4.*, + bytestring >= 0.10, + cmdargs >= 0.10, + dns >= 1.4, + iproute >= 1.2, + parallel-io >= 0.3, + process >= 1.1 + + -- It's not entirely clear to me why I have to reproduce all of this. + ghc-options: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations + -rtsopts + -threaded + -optc-O3 + -optc-march=native + + source-repository head type: git location: http://gitweb.michael.orlitzky.com/haeredes.git