X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=htsn.cabal;h=528851b5c3aefaf648efd2e87d0b99004f638779;hp=2e3358918b8b14fefeb5830f17d93aa1008e188b;hb=HEAD;hpb=97168adc8c0cf7b3bc9c64f1129457e84aef2b28 diff --git a/htsn.cabal b/htsn.cabal index 2e33589..528851b 100644 --- a/htsn.cabal +++ b/htsn.cabal @@ -1,5 +1,5 @@ name: htsn -version: 0.0.5 +version: 0.1.1 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. @@ -206,20 +207,20 @@ description: executable htsn build-depends: - base == 4.*, + base >= 4.6 && < 5, 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.*, - tasty == 0.7.*, - tasty-hunit == 0.4.*, - unix == 2.6.* + configurator >= 0.2, + directory >= 1.2, + filepath >= 1.3, + hdaemonize >= 0.4, + hslogger >= 1.2, + htsn-common >= 0.0.2, + hxt >= 9.3, + MissingH >= 1.2, + network >= 2.4, + tasty >= 0.8, + tasty-hunit >= 0.8, + unix >= 2.6 main-is: Main.hs @@ -261,20 +262,57 @@ test-suite testsuite hs-source-dirs: src test main-is: TestSuite.hs build-depends: - base == 4.*, + base >= 4.6 && < 5, 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.*, - tasty == 0.7.*, - tasty-hunit == 0.4.*, - unix == 2.6.* + configurator >= 0.2, + directory >= 1.2, + filepath >= 1.3, + hdaemonize >= 0.4, + hslogger >= 1.2, + htsn-common >= 0.0.2, + hxt >= 9.3, + MissingH >= 1.2, + network >= 2.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.6 && < 5, + cmdargs >= 0.10.6, + configurator >= 0.2, + directory >= 1.2, + filepath >= 1.3, + hdaemonize >= 0.4, + hslogger >= 1.2, + htsn-common >= 0.0.2, + 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. ghc-options: