X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=htsn.cabal;fp=htsn.cabal;h=4380400ceaa4a8dd70501fa5dec17fe6af4ef171;hp=4f2f31ab1e5fd2eb91325f82e0de3e3ab08768eb;hb=53bcd4803997906549f39447b427a505ba8e1b9d;hpb=dced73db0b1ad1b8cf892041f9921347ab6e992e diff --git a/htsn.cabal b/htsn.cabal index 4f2f31a..4380400 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -1,5 +1,5 @@ name: htsn -version: 0.0.6 +version: 0.0.7 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -11,6 +11,7 @@ extra-source-files: doc/htsnrc.example doc/man1/htsn.1 doc/init.openrc + test/shell/*.test test/xml/*.xml synopsis: Parse XML files from The Sports Network feed. @@ -291,6 +292,44 @@ test-suite testsuite -O2 +-- 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: src test + main-is: ShellTests.hs + build-depends: + base == 4.*, + cmdargs >= 0.10.6, + configurator == 0.2.*, + directory == 1.2.*, + filepath == 1.3.*, + hdaemonize == 0.4.*, + hslogger == 1.2.*, + htsn-common == 0.0.1, + hxt == 9.3.*, + MissingH == 1.2.*, + network == 2.4.*, + process == 1.1.*, + tasty == 0.7.*, + tasty-hunit == 0.4.*, + 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 + -O2 + + source-repository head type: git location: http://michael.orlitzky.com/git/htsn.git