]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - htsn-import.cabal
Add a tasty test suite and two tests for the existing XML modules.
[dead/htsn-import.git] / htsn-import.cabal
1 name: htsn-import
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 category: Utils
7 license: GPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 synopsis:
11 Import XML files from The Sports Network into an RDBMS.
12 description:
13 Import XML files from The Sports Network into an RDBMS.
14
15 executable htsn-import
16 build-depends:
17 base == 4.*,
18 cmdargs >= 0.10.6,
19 configurator == 0.2.*,
20 directory == 1.2.*,
21 filepath == 1.3.*,
22 hslogger == 1.2.*,
23 htsn-common == 0.0.1,
24 hxt == 9.3.*,
25 groundhog == 0.4.*,
26 groundhog-postgresql == 0.4.*,
27 groundhog-sqlite == 0.4.*,
28 groundhog-th == 0.4.*,
29 old-locale == 1.0.*,
30 tasty == 0.7.*,
31 tasty-hunit == 0.4.*,
32 time == 1.4.*,
33 transformers == 0.3.*,
34 tuple == 0.2.*
35
36 main-is:
37 Main.hs
38
39 hs-source-dirs:
40 src/
41
42 ghc-options:
43 -Wall
44 -fwarn-hi-shadowing
45 -fwarn-missing-signatures
46 -fwarn-name-shadowing
47 -fwarn-orphans
48 -fwarn-type-defaults
49 -fwarn-tabs
50 -fwarn-incomplete-record-updates
51 -fwarn-monomorphism-restriction
52 -fwarn-unused-do-bind
53 -rtsopts
54 -threaded
55 -optc-O3
56 -optc-march=native
57 -O2
58
59 ghc-prof-options:
60 -prof
61 -auto-all
62 -caf-all
63
64
65 test-suite testsuite
66 type: exitcode-stdio-1.0
67 hs-source-dirs: src test
68 main-is: TestSuite.hs
69 build-depends:
70 base == 4.*,
71 cmdargs >= 0.10.6,
72 configurator == 0.2.*,
73 directory == 1.2.*,
74 filepath == 1.3.*,
75 hslogger == 1.2.*,
76 htsn-common == 0.0.1,
77 hxt == 9.3.*,
78 groundhog == 0.4.*,
79 groundhog-postgresql == 0.4.*,
80 groundhog-sqlite == 0.4.*,
81 groundhog-th == 0.4.*,
82 old-locale == 1.0.*,
83 tasty == 0.7.*,
84 tasty-hunit == 0.4.*,
85 time == 1.4.*,
86 transformers == 0.3.*,
87 tuple == 0.2.*
88
89 -- It's not entirely clear to me why I have to reproduce all of this.
90 ghc-options:
91 -Wall
92 -fwarn-hi-shadowing
93 -fwarn-missing-signatures
94 -fwarn-name-shadowing
95 -fwarn-orphans
96 -fwarn-type-defaults
97 -fwarn-tabs
98 -fwarn-incomplete-record-updates
99 -fwarn-monomorphism-restriction
100 -fwarn-unused-do-bind
101 -rtsopts
102 -threaded
103 -optc-O3
104 -optc-march=native
105 -O2
106
107
108 source-repository head
109 type: git
110 location: http://michael.orlitzky.com/git/htsn-import.git
111 branch: master