]> gitweb.michael.orlitzky.com - hath.git/blob - hath.cabal
Use Cabal test integration.
[hath.git] / hath.cabal
1 name: hath
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 synopsis:
7 Hath manipulates network blocks in CIDR notation.
8 build-type: Simple
9
10
11 executable hath
12 build-depends:
13 base == 4.*,
14 HUnit == 1.2.*,
15 QuickCheck == 2.6.*,
16 test-framework == 0.8.*,
17 test-framework-hunit == 0.3.*,
18 test-framework-quickcheck2 == 0.3.*
19
20 main-is:
21 Main.hs
22
23 hs-source-dirs:
24 src/
25
26 ghc-options:
27 -Wall
28 -fwarn-hi-shadowing
29 -fwarn-missing-signatures
30 -fwarn-name-shadowing
31 -fwarn-orphans
32 -fwarn-type-defaults
33 -fwarn-tabs
34 -fwarn-incomplete-record-updates
35 -fwarn-monomorphism-restriction
36 -fwarn-unused-do-bind
37 -funbox-strict-fields
38 -fexcess-precision
39 -fno-spec-constr-count
40 -rtsopts
41 -threaded
42 -optc-O3
43 -optc-march=native
44 -O2
45
46 ghc-prof-options:
47 -prof
48 -auto-all
49 -caf-all
50
51
52 test-suite testsuite
53 type: exitcode-stdio-1.0
54 hs-source-dirs: src test
55 main-is: TestSuite.hs
56 build-depends:
57 base == 4.*,
58 HUnit == 1.2.*,
59 QuickCheck == 2.6.*,
60 test-framework == 0.8.*,
61 test-framework-hunit == 0.3.*,
62 test-framework-quickcheck2 == 0.3.*
63
64 -- It's not entirely clear to me why I have to reproduce all of this.
65 ghc-options:
66 -Wall
67 -fwarn-hi-shadowing
68 -fwarn-missing-signatures
69 -fwarn-name-shadowing
70 -fwarn-orphans
71 -fwarn-type-defaults
72 -fwarn-tabs
73 -fwarn-incomplete-record-updates
74 -fwarn-monomorphism-restriction
75 -fwarn-unused-do-bind
76 -funbox-strict-fields
77 -fexcess-precision
78 -fno-spec-constr-count
79 -rtsopts
80 -threaded
81 -optc-O3
82 -optc-march=native
83 -O2
84
85 source-repository head
86 type: git
87 location: http://michael.orlitzky.com/git/hath.git
88 branch: master