name: htsn
-version: 0.0.4
+version: 0.0.7
cabal-version: >= 1.8
author: Michael Orlitzky
maintainer: Michael Orlitzky <michael@orlitzky.com>
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.
.
If you specify a file here, logs will be written to it (possibly in
addition to syslog). Can be either a relative or absolute path. It
- will not be auto-rotated; use something log logrotate for that.
+ will not be auto-rotated; use something like logrotate for that.
.
Default: none
.
\--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
.
-fwarn-incomplete-record-updates
-fwarn-monomorphism-restriction
-fwarn-unused-do-bind
- -rtsopts
- -threaded
- -optc-O3
- -optc-march=native
-O2
ghc-prof-options:
-prof
- -auto-all
- -caf-all
+ -fprof-auto
+ -fprof-cafs
-fwarn-incomplete-record-updates
-fwarn-monomorphism-restriction
-fwarn-unused-do-bind
- -rtsopts
- -threaded
- -optc-O3
- -optc-march=native
+ -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