]> gitweb.michael.orlitzky.com - dead/harbl.git/blob - harbl.cabal
Rename DnsblSite to Site.
[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 executable harbl
17 build-depends:
18 base >= 4.6 && < 5,
19 parsec >= 3,
20 tasty >= 0.8,
21 tasty-hunit >= 0.8
22
23 main-is:
24 Main.hs
25
26 other-modules:
27 Network.DNS.RBL.Domain
28 Network.DNS.RBL.Site
29 Network.DNS.RBL.IPv4Pattern
30 Network.DNS.RBL.Pretty
31 Network.DNS.RBL
32
33 hs-source-dirs:
34 src/
35
36 ghc-options:
37 -Wall
38 -fwarn-hi-shadowing
39 -fwarn-missing-signatures
40 -fwarn-name-shadowing
41 -fwarn-orphans
42 -fwarn-type-defaults
43 -fwarn-tabs
44 -fwarn-incomplete-record-updates
45 -fwarn-monomorphism-restriction
46 -fwarn-unused-do-bind
47 -O2
48
49 ghc-prof-options:
50 -prof
51 -fprof-auto
52 -fprof-cafs
53
54
55 test-suite testsuite
56 type: exitcode-stdio-1.0
57 hs-source-dirs: src test
58 main-is: TestSuite.hs
59 build-depends:
60 base >= 4.6 && < 5,
61 parsec >= 3,
62 tasty >= 0.8,
63 tasty-hunit >= 0.8
64
65 -- It's not entirely clear to me why I have to reproduce all of this.
66 ghc-options:
67 -Wall
68 -fwarn-hi-shadowing
69 -fwarn-missing-signatures
70 -fwarn-name-shadowing
71 -fwarn-orphans
72 -fwarn-type-defaults
73 -fwarn-tabs
74 -fwarn-incomplete-record-updates
75 -fwarn-monomorphism-restriction
76 -fwarn-unused-do-bind
77 -O2
78
79
80 test-suite doctests
81 type: exitcode-stdio-1.0
82 hs-source-dirs: test
83 main-is: Doctests.hs
84 build-depends:
85 base >= 4.6 && < 5,
86 -- Additional test dependencies.
87 doctest >= 0.9,
88 filemanip >= 0.3.6
89
90 -- It's not entirely clear to me why I have to reproduce all of this.
91 ghc-options:
92 -Wall
93 -fwarn-hi-shadowing
94 -fwarn-missing-signatures
95 -fwarn-name-shadowing
96 -fwarn-orphans
97 -fwarn-type-defaults
98 -fwarn-tabs
99 -fwarn-incomplete-record-updates
100 -fwarn-monomorphism-restriction
101 -fwarn-unused-do-bind
102 -rtsopts
103 -threaded
104 -optc-O3
105 -optc-march=native
106 -O2
107
108
109 source-repository head
110 type: git
111 location: http://michael.orlitzky.com/git/harbl.git
112 branch: master