]> gitweb.michael.orlitzky.com - email-validator.git/blob - email-validator.cabal
Add the test suite.
[email-validator.git] / email-validator.cabal
1 name: email-validator
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: GPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 extra-source-files:
11 doc/man1/email-validator.1
12 synopsis:
13 Perform basic syntax and deliverability checks on email addresses.
14 description:
15 Perform basic syntax and deliverability checks on email addresses.
16
17
18 executable email_validator
19 build-depends:
20 base == 4.*,
21 bytestring == 0.10.*,
22 cmdargs == 0.10.*,
23 directory == 1.2.*,
24 dns == 0.3.*,
25 HUnit == 1.2.*,
26 parallel-io == 0.3.*,
27 pcre-light >= 0.4,
28 test-framework == 0.8.*,
29 test-framework-hunit == 0.3.*,
30 utf8-string == 0.3.*
31
32 main-is:
33 Main.hs
34
35 hs-source-dirs:
36 src/
37
38 other-modules:
39 CommandLine
40 EmailAddress
41 ExitCodes
42
43 ghc-options:
44 -Wall
45 -fwarn-hi-shadowing
46 -fwarn-missing-signatures
47 -fwarn-name-shadowing
48 -fwarn-orphans
49 -fwarn-type-defaults
50 -fwarn-tabs
51 -fwarn-incomplete-record-updates
52 -fwarn-monomorphism-restriction
53 -fwarn-unused-do-bind
54 -rtsopts
55 -threaded
56 -optc-O3
57 -optc-march=native
58 -O2
59
60 ghc-prof-options:
61 -prof
62 -auto-all
63 -caf-all
64
65
66 test-suite testsuite
67 type: exitcode-stdio-1.0
68 hs-source-dirs: src test
69 main-is: TestSuite.hs
70 build-depends:
71 base == 4.*,
72 bytestring == 0.10.*,
73 cmdargs == 0.10.*,
74 directory == 1.2.*,
75 dns == 0.3.*,
76 HUnit == 1.2.*,
77 parallel-io == 0.3.*,
78 pcre-light >= 0.4,
79 test-framework == 0.8.*,
80 test-framework-hunit == 0.3.*,
81 utf8-string == 0.3.*
82
83 -- It's not entirely clear to me why I have to reproduce all of this.
84 ghc-options:
85 -Wall
86 -fwarn-hi-shadowing
87 -fwarn-missing-signatures
88 -fwarn-name-shadowing
89 -fwarn-orphans
90 -fwarn-type-defaults
91 -fwarn-tabs
92 -fwarn-incomplete-record-updates
93 -fwarn-monomorphism-restriction
94 -fwarn-unused-do-bind
95 -rtsopts
96 -threaded
97 -optc-O3
98 -optc-march=native
99 -O2
100
101 source-repository head
102 type: git
103 location: http://michael.orlitzky.com/git/email-validator.git
104 branch: master