X-Git-Url: http://gitweb.michael.orlitzky.com/?p=haeredes.git;a=blobdiff_plain;f=haeredes.cabal;h=c43752b396c5c96f24b30789c4adf3c9bd35ace6;hp=f4a41215862f6c5c88ec09a97592edb03df1a88e;hb=99d975fadeb1b9485180d6c7cd45ec2c7dcfcdc4;hpb=8e58908e53f95df343fe77a20f7fa7605fe806d9 diff --git a/haeredes.cabal b/haeredes.cabal index f4a4121..c43752b 100644 --- a/haeredes.cabal +++ b/haeredes.cabal @@ -1,5 +1,5 @@ name: haeredes -version: 0.4.5 +version: 0.5.0 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -11,6 +11,7 @@ category: DNS, Utils build-type: Simple extra-source-files: doc/man1/haeredes.1 + test/shell/*.test synopsis: Confirm delegation of NS and MX records. description: @@ -138,6 +139,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