]> gitweb.michael.orlitzky.com - mailbox-count.git/blob - mailbox-count.cabal
Handle SQL errors gracefully.
[mailbox-count.git] / mailbox-count.cabal
1 name: mailbox-count
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/mailbox-count.php
9 bug-reports: mailto:michael@orlitzky.com
10 category: Mail, Utils
11 build-type: Simple
12 extra-source-files:
13 doc/mailbox-countrc.example
14 doc/man1/mailbox-count.1
15 test/fixtures/postfixadmin.sqlite3
16 synopsis:
17 Count mailboxes in a SQL database.
18 description:
19 Count mailboxes in a SQL database.
20
21 executable mailbox-count
22 build-depends:
23 base >= 4.6 && < 5,
24 cmdargs >= 0.10,
25 configurator >= 0.2,
26 containers >= 0.5,
27 directory >= 1.2,
28 filepath >= 1.3,
29 HDBC >= 2.4,
30 HDBC-postgresql >= 2.3,
31 HDBC-sqlite3 >= 2.3,
32 MissingH >= 1.2,
33 tasty >= 0.8,
34 tasty-hunit >= 0.8
35 main-is:
36 Main.hs
37
38 hs-source-dirs:
39 src/
40
41 other-modules:
42 Configuration
43 CommandLine
44 OptionalConfiguration
45 Report
46
47 ghc-options:
48 -Wall
49 -fwarn-hi-shadowing
50 -fwarn-missing-signatures
51 -fwarn-name-shadowing
52 -fwarn-orphans
53 -fwarn-type-defaults
54 -fwarn-tabs
55 -fwarn-incomplete-record-updates
56 -fwarn-monomorphism-restriction
57 -fwarn-unused-do-bind
58 -rtsopts
59 -threaded
60 -optc-O3
61 -optc-march=native
62
63
64 test-suite testsuite
65 type: exitcode-stdio-1.0
66 hs-source-dirs: src test
67 main-is: TestSuite.hs
68 build-depends:
69 base >= 4.6 && < 5,
70 cmdargs >= 0.10,
71 configurator >= 0.2,
72 containers >= 0.5,
73 directory >= 1.2,
74 filepath >= 1.3,
75 HDBC >= 2.4,
76 HDBC-postgresql >= 2.3,
77 HDBC-sqlite3 >= 2.3,
78 MissingH >= 1.2,
79 tasty >= 0.8,
80 tasty-hunit >= 0.8
81
82 -- It's not entirely clear to me why I have to reproduce all of this.
83 ghc-options:
84 -Wall
85 -fwarn-hi-shadowing
86 -fwarn-missing-signatures
87 -fwarn-name-shadowing
88 -fwarn-orphans
89 -fwarn-type-defaults
90 -fwarn-tabs
91 -fwarn-incomplete-record-updates
92 -fwarn-monomorphism-restriction
93 -fwarn-unused-do-bind
94 -O2
95
96
97 test-suite doctests
98 type: exitcode-stdio-1.0
99 hs-source-dirs: test
100 main-is: Doctests.hs
101 build-depends:
102 base >= 4.6 && < 5,
103 -- Additional test dependencies.
104 doctest >= 0.9,
105 filemanip >= 0.3.6
106
107 -- It's not entirely clear to me why I have to reproduce all of this.
108 ghc-options:
109 -Wall
110 -fwarn-hi-shadowing
111 -fwarn-missing-signatures
112 -fwarn-name-shadowing
113 -fwarn-orphans
114 -fwarn-type-defaults
115 -fwarn-tabs
116 -fwarn-incomplete-record-updates
117 -fwarn-monomorphism-restriction
118 -fwarn-unused-do-bind
119 -rtsopts
120 -threaded
121 -optc-O3
122 -optc-march=native
123
124
125 source-repository head
126 type: git
127 location: http://michael.orlitzky.com/git/mailbox-count.git
128 branch: master