]> gitweb.michael.orlitzky.com - dead/htsn.git/blob - htsn.cabal
Add a Tasty test suite.
[dead/htsn.git] / htsn.cabal
1 name: htsn
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 extra-source-files:
11 doc/man1/htsn.1
12 synopsis:
13 Parse XML files from The Sports Network feed.
14 description:
15 Parse XML files from The Sports Network feed.
16
17 executable htsn
18 build-depends:
19 ansi-terminal == 0.6.*,
20 base == 4.*,
21 cmdargs >= 0.10.6,
22 configurator == 0.2.*,
23 directory == 1.2.*,
24 filepath == 1.3.*,
25 hxt == 9.3.*,
26 network == 2.4.*,
27 tasty == 0.5.*,
28 tasty-hunit == 0.4.*,
29 transformers == 0.3.*,
30 unix == 2.6.*
31
32 main-is:
33 Main.hs
34
35 hs-source-dirs:
36 src/
37
38 ghc-options:
39 -Wall
40 -fwarn-hi-shadowing
41 -fwarn-missing-signatures
42 -fwarn-name-shadowing
43 -fwarn-orphans
44 -fwarn-type-defaults
45 -fwarn-tabs
46 -fwarn-incomplete-record-updates
47 -fwarn-monomorphism-restriction
48 -fwarn-unused-do-bind
49 -rtsopts
50 -threaded
51 -optc-O3
52 -optc-march=native
53 -O2
54
55 ghc-prof-options:
56 -prof
57 -auto-all
58 -caf-all
59
60
61
62 test-suite testsuite
63 type: exitcode-stdio-1.0
64 hs-source-dirs: src test
65 main-is: TestSuite.hs
66 build-depends:
67 ansi-terminal == 0.6.*,
68 base == 4.*,
69 cmdargs >= 0.10.6,
70 configurator == 0.2.*,
71 directory == 1.2.*,
72 filepath == 1.3.*,
73 hxt == 9.3.*,
74 network == 2.4.*,
75 tasty == 0.5.*,
76 tasty-hunit == 0.4.*,
77 transformers == 0.3.*,
78 unix == 2.6.*
79
80 -- It's not entirely clear to me why I have to reproduce all of this.
81 ghc-options:
82 -Wall
83 -fwarn-hi-shadowing
84 -fwarn-missing-signatures
85 -fwarn-name-shadowing
86 -fwarn-orphans
87 -fwarn-type-defaults
88 -fwarn-tabs
89 -fwarn-incomplete-record-updates
90 -fwarn-monomorphism-restriction
91 -fwarn-unused-do-bind
92 -rtsopts
93 -threaded
94 -optc-O3
95 -optc-march=native
96 -O2
97
98
99 source-repository head
100 type: git
101 location: http://michael.orlitzky.com/git/htsn.git
102 branch: master