Add a doctest suite.
[dead/halcyon.git] / halcyon.cabal
1 name: halcyon
2 version: 0.0.1
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/halcyon.php
9 bug-reports: mailto:michael@orlitzky.com
10 category: Utils, Web
11 synopsis:
12 Halcyon monitors a list of Twitter accounts and displays or emails
13 any new tweets.
14 build-type: Simple
15
16 executable halcyon
17 build-depends:
18 aeson >= 0.7,
19 authenticate-oauth >= 1.5,
20 base >= 4.6 && < 5,
21 bytestring >= 0.10,
22 cmdargs >= 0.10.5,
23 configurator >= 0.2,
24 directory >= 1.2,
25 filepath >= 1.3,
26 http-client >= 0.3,
27 http-client-tls >= 0.2,
28 HUnit == 1.2.*,
29 MissingH >= 1.2,
30 process >= 1.1,
31 old-locale >= 1,
32 regex-compat == 0.*,
33 tagsoup >= 0.13,
34 text >= 1.1,
35 time >= 1.4,
36 -- Test deps
37 tasty >= 0.8,
38 tasty-hunit >= 0.3
39
40 main-is:
41 Main.hs
42
43 hs-source-dirs:
44 src/
45
46 other-modules:
47 CommandLine
48 Configuration
49 ExitCodes
50 Html
51 Mail
52 OptionalConfiguration
53 StringUtils
54 Twitter.Http
55 Twitter.Status
56 Twitter.User
57
58 ghc-options:
59 -Wall
60 -fwarn-hi-shadowing
61 -fwarn-missing-signatures
62 -fwarn-name-shadowing
63 -fwarn-orphans
64 -fwarn-type-defaults
65 -fwarn-tabs
66 -fwarn-incomplete-record-updates
67 -fwarn-monomorphism-restriction
68 -fwarn-unused-do-bind
69 -optc-O3
70 -optc-march=native
71 -O2
72
73 test-suite testsuite
74 type: exitcode-stdio-1.0
75 hs-source-dirs: src test
76 main-is: TestSuite.hs
77 build-depends:
78 aeson >= 0.7,
79 authenticate-oauth >= 1.5,
80 base >= 4.6 && < 5,
81 bytestring >= 0.10,
82 cmdargs >= 0.10.5,
83 configurator >= 0.2,
84 directory >= 1.2,
85 filepath >= 1.3,
86 http-client >= 0.3,
87 http-client-tls >= 0.2,
88 MissingH >= 1.2,
89 process >= 1.1,
90 old-locale >= 1,
91 regex-compat == 0.*,
92 tagsoup >= 0.13,
93 text >= 1.1,
94 time >= 1.4,
95 -- Test deps
96 tasty >= 0.8,
97 tasty-hunit >= 0.3
98
99 -- It's not entirely clear to me why I have to reproduce all of this.
100 ghc-options:
101 -Wall
102 -fwarn-hi-shadowing
103 -fwarn-missing-signatures
104 -fwarn-name-shadowing
105 -fwarn-orphans
106 -fwarn-type-defaults
107 -fwarn-tabs
108 -fwarn-incomplete-record-updates
109 -fwarn-monomorphism-restriction
110 -fwarn-unused-do-bind
111 -optc-O3
112 -optc-march=native
113 -O2
114
115
116 test-suite doctests
117 type: exitcode-stdio-1.0
118 hs-source-dirs: test
119 main-is: Doctests.hs
120 build-depends:
121 base >= 4.6 && < 5,
122 -- Additional test dependencies.
123 doctest >= 0.9,
124 filemanip >= 0.3
125
126 -- It's not entirely clear to me why I have to reproduce all of this.
127 ghc-options:
128 -Wall
129 -fwarn-hi-shadowing
130 -fwarn-missing-signatures
131 -fwarn-name-shadowing
132 -fwarn-orphans
133 -fwarn-type-defaults
134 -fwarn-tabs
135 -fwarn-incomplete-record-updates
136 -fwarn-monomorphism-restriction
137 -fwarn-unused-do-bind
138 -rtsopts
139 -threaded
140 -optc-O3
141 -optc-march=native
142 -O2
143
144
145 source-repository head
146 type: git
147 location: http://michael.orlitzky.com/git/halcyon.git
148 branch: master