]> 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 fd9a17c65d92904fc67b2748f5b71b13d469ca88..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>
@@ -15,15 +15,18 @@ extra-source-files:
   doc/README.schemagen
   doc/TODO
   makefile
-  test/xml/*.xml
-  test/xml/*.dtd
   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:
@@ -84,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.*
@@ -108,11 +111,13 @@ executable htsn-import
     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
 
@@ -127,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:
@@ -163,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.*
@@ -181,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
 
 
@@ -216,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