X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=htsn.cabal;h=a11a9ffc556bcb205a0b11f2a816244b5fcd92d0;hb=aeb6d40121778735e8efea4e604b88c6f41af731;hp=bed9a97bd46ebf29cefc93b10fb5c70200b8c346;hpb=b13f4b597ff3055026722adc5661566b1aa8b3ed;p=dead%2Fhtsn.git diff --git a/htsn.cabal b/htsn.cabal index bed9a97..a11a9ff 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -1,5 +1,5 @@ name: htsn -version: 0.0.5 +version: 0.0.8 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. @@ -97,10 +98,11 @@ description: \--log-level @ . - How verbose should the logs be? We log notifications at three levels: - INFO, WARN, and ERROR. Specify the \"most boring\" level of + How verbose should the logs be? We log notifications at four levels: + DEBUG, INFO, WARN, and ERROR. Specify the \"most boring\" level of notifications you would like to receive (in all-caps); more - interesting notifications will be logged as well. + interesting notifications will be logged as well. The debug output is + extremely verbose and will not be written to syslog even if you try. . Default: INFO . @@ -216,8 +218,8 @@ executable htsn hxt == 9.3.*, MissingH == 1.2.*, network == 2.4.*, - tasty == 0.7.*, - tasty-hunit == 0.4.*, + tasty == 0.8.*, + tasty-hunit == 0.8.*, unix == 2.6.* main-is: @@ -246,10 +248,6 @@ executable htsn -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -rtsopts - -threaded - -optc-O3 - -optc-march=native -O2 ghc-prof-options: @@ -275,8 +273,46 @@ test-suite testsuite hxt == 9.3.*, MissingH == 1.2.*, network == 2.4.*, - tasty == 0.7.*, - tasty-hunit == 0.4.*, + tasty == 0.8.*, + tasty-hunit == 0.8.*, + 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 + + +-- 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.8.*, + tasty-hunit == 0.8.*, unix == 2.6.* -- It's not entirely clear to me why I have to reproduce all of this. @@ -291,10 +327,6 @@ test-suite testsuite -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -rtsopts - -threaded - -optc-O3 - -optc-march=native -O2