X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=htsn-import.cabal;h=635deaf47a95a384dd7a955e37dc39dca3babb34;hb=9e7a88c851c605a4e8b79b788ab78bca50b919c1;hp=99df37f27359f157257a0b3c22b3969e4ac06e53;hpb=4ab5b57dc58b2b1d75c89c3e7e8bf0e7269ec29e;p=dead%2Fhtsn-import.git diff --git a/htsn-import.cabal b/htsn-import.cabal index 99df37f..635deaf 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -8,12 +8,19 @@ license: GPL-3 license-file: doc/LICENSE build-type: Simple extra-source-files: - doc/htsnrc-import.example + doc/dbschema/*.png + doc/htsn-importrc.example doc/man1/htsn-import.1 makefile test/xml/*.xml + test/xml/*.dtd schema/*.dtd - schemagen/*/*.xml + schemagen/Heartbeat/*.xml + schemagen/injuriesxml/*.xml + schemagen/Injuries_Detail_XML/*.xml + schemagen/newsxml/*.xml + schemagen/Odds_XML/*.xml + schemagen/weatherxml/*.xml synopsis: Import XML files from The Sports Network into an RDBMS. description: @@ -102,6 +109,7 @@ executable htsn-import TSN.XML.InjuriesDetail TSN.XML.News TSN.XML.Odds + TSN.XML.Weather Xml ghc-options: @@ -123,8 +131,13 @@ executable htsn-import ghc-prof-options: -prof - -auto-all - -caf-all + -fprof-auto + -fprof-cafs + -- The following unbreak profiling with template haskell. We have + -- to build the program twice; once without profile and again with + -- these flags. + -hisuf hi_p + -osuf o_p test-suite testsuite @@ -171,6 +184,34 @@ test-suite testsuite -O2 +test-suite doctests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Doctests.hs + build-depends: + base == 4.*, + -- Additional test dependencies. + doctest == 0.9.* + + -- 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 + -rtsopts + -threaded + -optc-O3 + -optc-march=native + -O2 + + source-repository head type: git location: http://michael.orlitzky.com/git/htsn-import.git