]> gitweb.michael.orlitzky.com - email-validator.git/blob - email-validator.cabal
Add an --rfc5322 option which validates against the real RFC syntax.
[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 email-validate == 1.*,
26 HUnit == 1.2.*,
27 parallel-io == 0.3.*,
28 pcre-light >= 0.4,
29 test-framework == 0.8.*,
30 test-framework-hunit == 0.3.*,
31 utf8-string == 0.3.*
32
33 main-is:
34 Main.hs
35
36 hs-source-dirs:
37 src/
38
39 other-modules:
40 CommandLine
41 EmailAddress
42 ExitCodes
43
44 ghc-options:
45 -Wall
46 -fwarn-hi-shadowing
47 -fwarn-missing-signatures
48 -fwarn-name-shadowing
49 -fwarn-orphans
50 -fwarn-type-defaults
51 -fwarn-tabs
52 -fwarn-incomplete-record-updates
53 -fwarn-monomorphism-restriction
54 -fwarn-unused-do-bind
55 -rtsopts
56 -threaded
57 -optc-O3
58 -optc-march=native
59 -O2
60
61 ghc-prof-options:
62 -prof
63 -auto-all
64 -caf-all
65
66
67 test-suite testsuite
68 type: exitcode-stdio-1.0
69 hs-source-dirs: src test
70 main-is: TestSuite.hs
71 build-depends:
72 base == 4.*,
73 bytestring == 0.10.*,
74 cmdargs == 0.10.*,
75 directory == 1.2.*,
76 dns == 0.3.*,
77 email-validate == 1.*,
78 HUnit == 1.2.*,
79 parallel-io == 0.3.*,
80 pcre-light >= 0.4,
81 test-framework == 0.8.*,
82 test-framework-hunit == 0.3.*,
83 utf8-string == 0.3.*
84
85 -- It's not entirely clear to me why I have to reproduce all of this.
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 -rtsopts
98 -threaded
99 -optc-O3
100 -optc-march=native
101 -O2
102
103 source-repository head
104 type: git
105 location: http://michael.orlitzky.com/git/email-validator.git
106 branch: master