]> gitweb.michael.orlitzky.com - dead/halcyon.git/blob - twat.cabal
Use test-framework instead of bare HUnit for the test suite.
[dead/halcyon.git] / twat.cabal
1 name: twat
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/twat.php
9 bug-reports: mailto:michael@orlitzky.com
10 category: Math
11 synopsis:
12 Twat twats tweets so you don't have to twitter.
13 build-type: Simple
14
15 executable twat
16 build-depends:
17 aeson == 0.6.*,
18 authenticate-oauth == 1.4.*,
19 base == 4.*,
20 bytestring == 0.10.*,
21 conduit == 1.*,
22 directory == 1.2.*,
23 HaXml == 1.24.*,
24 http-conduit == 1.9.*,
25 HUnit == 1.2.*,
26 MissingH == 1.*,
27 process == 1.*,
28 old-locale == 1.*,
29 regex-compat == 0.*,
30 tagsoup == 0.12.*,
31 text == 0.11.*,
32 time == 1.*,
33 -- Test deps
34 test-framework == 0.8.*,
35 test-framework-hunit == 0.3.*
36
37 main-is:
38 Main.hs
39
40 hs-source-dirs:
41 src/
42
43 other-modules:
44 CommandLine
45 Configuration
46 ExitCodes
47 Html
48 Mail
49 StringUtils
50 Twitter.Http
51 Twitter.Status
52 Twitter.User
53
54 ghc-options:
55 -Wall
56 -fwarn-hi-shadowing
57 -fwarn-missing-signatures
58 -fwarn-name-shadowing
59 -fwarn-orphans
60 -fwarn-type-defaults
61 -fwarn-tabs
62 -fwarn-incomplete-record-updates
63 -fwarn-monomorphism-restriction
64 -fwarn-unused-do-bind
65 -optc-O3
66 -optc-march=native
67
68 test-suite testsuite
69 type: exitcode-stdio-1.0
70 hs-source-dirs: src test
71 main-is: TestSuite.hs
72 build-depends:
73 aeson == 0.6.*,
74 authenticate-oauth == 1.4.*,
75 base == 4.*,
76 bytestring == 0.10.*,
77 conduit == 1.*,
78 directory == 1.2.*,
79 HaXml == 1.24.*,
80 http-conduit == 1.9.*,
81 HUnit == 1.2.*,
82 MissingH == 1.*,
83 process == 1.*,
84 old-locale == 1.*,
85 regex-compat == 0.*,
86 tagsoup == 0.12.*,
87 text == 0.11.*,
88 time == 1.*,
89 -- Test deps
90 test-framework == 0.8.*,
91 test-framework-hunit == 0.3.*
92
93 -- It's not entirely clear to me why I have to reproduce all of this.
94 ghc-options:
95 -Wall
96 -fwarn-hi-shadowing
97 -fwarn-missing-signatures
98 -fwarn-name-shadowing
99 -fwarn-orphans
100 -fwarn-type-defaults
101 -fwarn-tabs
102 -fwarn-incomplete-record-updates
103 -fwarn-monomorphism-restriction
104 -fwarn-unused-do-bind
105 -optc-O3
106 -optc-march=native
107
108 source-repository head
109 type: git
110 location: http://michael.orlitzky.com/git/twat.git
111 branch: master