]> gitweb.michael.orlitzky.com - dead/harbl.git/blob - harbl.cabal
Clean up the configurator code in the CLI app.
[dead/harbl.git] / harbl.cabal
1 name: harbl
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: AGPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 synopsis:
11 Real-time Blacklist (RBL) library.
12 description:
13 Provides utility functions for performing blacklist lookups.
14
15
16 library
17 build-depends:
18 base >= 4.6 && < 5,
19 bytestring >= 0.9,
20 cmdargs >= 0.10.6,
21 dns >= 2,
22 iproute >= 1.4,
23 parsec >= 3,
24 tasty >= 0.8,
25 tasty-hunit >= 0.8
26
27 exposed-modules:
28 Network.DNS.RBL
29 Network.DNS.RBL.Tests
30 Network.DNS.RBL.Weight
31
32 other-modules:
33 Network.DNS.RBL.Domain.Digit
34 Network.DNS.RBL.Domain.Domain
35 Network.DNS.RBL.Domain.Hyphen
36 Network.DNS.RBL.Domain.Label
37 Network.DNS.RBL.Domain.LdhStr
38 Network.DNS.RBL.Domain.LdhStrLetDig
39 Network.DNS.RBL.Domain.LetDig
40 Network.DNS.RBL.Domain.LetDigHyp
41 Network.DNS.RBL.Domain.Letter
42 Network.DNS.RBL.Domain.Subdomain
43 Network.DNS.RBL.Host
44 Network.DNS.RBL.IPv4Pattern
45 Network.DNS.RBL.Pretty
46 Network.DNS.RBL.Reversible
47 Network.DNS.RBL.Site
48
49 hs-source-dirs: harbl/src
50
51 ghc-options:
52 -Wall
53 -fwarn-hi-shadowing
54 -fwarn-missing-signatures
55 -fwarn-name-shadowing
56 -fwarn-orphans
57 -fwarn-type-defaults
58 -fwarn-tabs
59 -fwarn-incomplete-record-updates
60 -fwarn-monomorphism-restriction
61 -fwarn-unused-do-bind
62 -O2
63
64 ghc-prof-options:
65 -prof
66 -fprof-auto
67 -fprof-cafs
68
69
70 executable harbl
71 build-depends:
72 base >= 4.6 && < 5,
73 cmdargs >= 0.10.6,
74 configurator >= 0.2,
75 directory,
76 filepath,
77 harbl,
78 parsec >= 3
79
80 main-is: Main.hs
81
82 hs-source-dirs: harbl-cli/src
83
84 -- Other modules needed...
85
86 ghc-options:
87 -Wall
88 -fwarn-hi-shadowing
89 -fwarn-missing-signatures
90 -fwarn-name-shadowing
91 -fwarn-orphans
92 -fwarn-type-defaults
93 -fwarn-tabs
94 -fwarn-incomplete-record-updates
95 -fwarn-monomorphism-restriction
96 -fwarn-unused-do-bind
97 -O2
98
99 ghc-prof-options:
100 -prof
101 -fprof-auto
102 -fprof-cafs
103
104
105 test-suite testsuite
106 type: exitcode-stdio-1.0
107 hs-source-dirs: test
108 main-is: TestSuite.hs
109 build-depends:
110 base >= 4.6 && < 5,
111 harbl,
112 tasty >= 0.8,
113 tasty-hunit >= 0.8
114
115 -- It's not entirely clear to me why I have to reproduce all of this.
116 ghc-options:
117 -Wall
118 -fwarn-hi-shadowing
119 -fwarn-missing-signatures
120 -fwarn-name-shadowing
121 -fwarn-orphans
122 -fwarn-type-defaults
123 -fwarn-tabs
124 -fwarn-incomplete-record-updates
125 -fwarn-monomorphism-restriction
126 -fwarn-unused-do-bind
127 -O2
128
129
130 test-suite doctests
131 type: exitcode-stdio-1.0
132 hs-source-dirs: test
133 main-is: Doctests.hs
134 build-depends:
135 base >= 4.6 && < 5,
136 -- Additional test dependencies.
137 doctest >= 0.9,
138 filemanip >= 0.3.6
139
140 -- It's not entirely clear to me why I have to reproduce all of this.
141 ghc-options:
142 -Wall
143 -fwarn-hi-shadowing
144 -fwarn-missing-signatures
145 -fwarn-name-shadowing
146 -fwarn-orphans
147 -fwarn-type-defaults
148 -fwarn-tabs
149 -fwarn-incomplete-record-updates
150 -fwarn-monomorphism-restriction
151 -fwarn-unused-do-bind
152 -rtsopts
153 -threaded
154 -optc-O3
155 -optc-march=native
156 -O2
157
158
159 source-repository head
160 type: git
161 location: http://michael.orlitzky.com/git/harbl.git
162 branch: master