]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - htsn-import.cabal
Add a new module, TSN.XML.AutoRacingSchedule, and its tests.
[dead/htsn-import.git] / htsn-import.cabal
index fd9a17c65d92904fc67b2748f5b71b13d469ca88..712970c6e2672f2aa930e3473dc3598e98495e51 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn-import
-version:        0.0.1
+version:        0.0.3
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -15,8 +15,6 @@ extra-source-files:
   doc/README.schemagen
   doc/TODO
   makefile
-  test/xml/*.xml
-  test/xml/*.dtd
   schema/*.dtd
   schemagen/Heartbeat/*.xml
   schemagen/injuriesxml/*.xml
@@ -24,6 +22,9 @@ extra-source-files:
   schemagen/newsxml/*.xml
   schemagen/Odds_XML/*.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:
@@ -127,10 +128,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:
@@ -181,10 +178,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 +209,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.7.*,
+    tasty-hunit                 == 0.4.*,
+    time                        == 1.4.*,
+    transformers                == 0.3.*,
+    tuple                       == 0.2.*
+
+
+
 source-repository head
   type: git
   location: http://michael.orlitzky.com/git/htsn-import.git