Set a lower bound on cmdargs to avoid a bug.
[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: Utils, Web
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 cmdargs >= 0.10.5,
22 conduit == 1.*,
23 configurator == 0.2.*,
24 directory == 1.2.*,
25 http-conduit == 1.9.*,
26 HUnit == 1.2.*,
27 MissingH == 1.*,
28 process == 1.*,
29 old-locale == 1.*,
30 regex-compat == 0.*,
31 tagsoup == 0.12.*,
32 text == 0.11.*,
33 time == 1.*,
34 -- Test deps
35 test-framework == 0.8.*,
36 test-framework-hunit == 0.3.*
37
38 main-is:
39 Main.hs
40
41 hs-source-dirs:
42 src/
43
44 other-modules:
45 CommandLine
46 Configuration
47 ExitCodes
48 Html
49 Mail
50 OptionalConfiguration
51 StringUtils
52 Twitter.Http
53 Twitter.Status
54 Twitter.User
55
56 ghc-options:
57 -Wall
58 -fwarn-hi-shadowing
59 -fwarn-missing-signatures
60 -fwarn-name-shadowing
61 -fwarn-orphans
62 -fwarn-type-defaults
63 -fwarn-tabs
64 -fwarn-incomplete-record-updates
65 -fwarn-monomorphism-restriction
66 -fwarn-unused-do-bind
67 -optc-O3
68 -optc-march=native
69
70 test-suite testsuite
71 type: exitcode-stdio-1.0
72 hs-source-dirs: src test
73 main-is: TestSuite.hs
74 build-depends:
75 aeson == 0.6.*,
76 authenticate-oauth == 1.4.*,
77 base == 4.*,
78 bytestring == 0.10.*,
79 cmdargs >= 0.10.5,
80 conduit == 1.*,
81 configurator == 0.2.*,
82 directory == 1.2.*,
83 http-conduit == 1.9.*,
84 HUnit == 1.2.*,
85 MissingH == 1.*,
86 process == 1.*,
87 old-locale == 1.*,
88 regex-compat == 0.*,
89 tagsoup == 0.12.*,
90 text == 0.11.*,
91 time == 1.*,
92 -- Test deps
93 test-framework == 0.8.*,
94 test-framework-hunit == 0.3.*
95
96 -- It's not entirely clear to me why I have to reproduce all of this.
97 ghc-options:
98 -Wall
99 -fwarn-hi-shadowing
100 -fwarn-missing-signatures
101 -fwarn-name-shadowing
102 -fwarn-orphans
103 -fwarn-type-defaults
104 -fwarn-tabs
105 -fwarn-incomplete-record-updates
106 -fwarn-monomorphism-restriction
107 -fwarn-unused-do-bind
108 -optc-O3
109 -optc-march=native
110
111 source-repository head
112 type: git
113 location: http://michael.orlitzky.com/git/twat.git
114 branch: master