]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - htsn-import.cabal
Fix tasty dependencies and bump to 0.0.4.
[dead/htsn-import.git] / htsn-import.cabal
index 93738f6200199a96f3c9cb29e050909aa3118ff2..b7922477be5c5c3fde8eb4c4c4725d77d0aa72b8 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn-import
-version:        0.0.1
+version:        0.0.4
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -11,15 +11,22 @@ extra-source-files:
   doc/dbschema/*.png
   doc/htsn-importrc.example
   doc/man1/htsn-import.1
+  doc/README.dbschema
+  doc/README.schemagen
+  doc/TODO
   makefile
-  test/xml/*.xml
   schema/*.dtd
+  schemagen/Auto_Racing_Schedule_XML/*.xml
   schemagen/Heartbeat/*.xml
   schemagen/injuriesxml/*.xml
   schemagen/Injuries_Detail_XML/*.xml
   schemagen/newsxml/*.xml
   schemagen/Odds_XML/*.xml
+  schemagen/scoresxml/*.xml
   schemagen/weatherxml/*.xml
+  test/shell/*.test
+  test/xml/*.xml
+  test/xml/*.dtd
 synopsis:
   Import XML files from The Sports Network into an RDBMS.
 description:
@@ -80,8 +87,8 @@ executable htsn-import
     groundhog-th                == 0.4.*,
     MissingH                    == 1.2.*,
     old-locale                  == 1.0.*,
-    tasty                       == 0.7.*,
-    tasty-hunit                 == 0.4.*,
+    tasty                       == 0.8.*,
+    tasty-hunit                 == 0.8.*,
     time                        == 1.4.*,
     transformers                == 0.3.*,
     tuple                       == 0.2.*
@@ -100,14 +107,17 @@ executable htsn-import
     ExitCodes
     OptionalConfiguration
     TSN.Codegen
+    TSN.Database
     TSN.DbImport
     TSN.Picklers
     TSN.XmlImport
+    TSN.XML.AutoRacingSchedule
     TSN.XML.Heartbeat
     TSN.XML.Injuries
     TSN.XML.InjuriesDetail
     TSN.XML.News
     TSN.XML.Odds
+    TSN.XML.Scores
     TSN.XML.Weather
     Xml
 
@@ -122,10 +132,6 @@ executable htsn-import
     -fwarn-incomplete-record-updates
     -fwarn-monomorphism-restriction
     -fwarn-unused-do-bind
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
     -O2
 
   ghc-prof-options:
@@ -158,8 +164,8 @@ test-suite testsuite
     groundhog-th                == 0.4.*,
     MissingH                    == 1.2.*,
     old-locale                  == 1.0.*,
-    tasty                       == 0.7.*,
-    tasty-hunit                 == 0.4.*,
+    tasty                       == 0.8.*,
+    tasty-hunit                 == 0.8.*,
     time                        == 1.4.*,
     transformers                == 0.3.*,
     tuple                       == 0.2.*
@@ -176,10 +182,6 @@ test-suite testsuite
     -fwarn-incomplete-record-updates
     -fwarn-monomorphism-restriction
     -fwarn-unused-do-bind
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
     -O2
 
 
@@ -211,6 +213,37 @@ test-suite doctests
     -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: test
+  main-is: ShellTests.hs
+
+  build-depends:
+    base                        == 4.*,
+    cmdargs                     >= 0.10.6,
+    configurator                == 0.2.*,
+    directory                   == 1.2.*,
+    filepath                    == 1.3.*,
+    hslogger                    == 1.2.*,
+    htsn-common                 == 0.0.1,
+    hxt                         == 9.3.*,
+    groundhog                   == 0.4.*,
+    groundhog-postgresql        == 0.4.*,
+    groundhog-sqlite            == 0.4.*,
+    groundhog-th                == 0.4.*,
+    MissingH                    == 1.2.*,
+    old-locale                  == 1.0.*,
+    process                     == 1.1.*,
+    tasty                       == 0.8.*,
+    tasty-hunit                 == 0.8.*,
+    time                        == 1.4.*,
+    transformers                == 0.3.*,
+    tuple                       == 0.2.*
+
+
+
 source-repository head
   type: git
   location: http://michael.orlitzky.com/git/htsn-import.git