]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Modification : sépare hcompta-ledger de hcompta-lib.
[comptalang.git] / lib / hcompta-lib.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 bug-reports: http://doc.autogeree.net/hcompta/bugs
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Accounting software.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://doc.autogeree.net/coop/hcompta
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-lib
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==7.8.4
19 version: 0.0.0
20
21 source-repository head
22 location: git://git.autogeree.net/hcompta
23 type: git
24
25 Flag dev
26 Default: False
27 Description: Turn on development settings.
28
29 Flag double
30 Default: False
31 Description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
32
33 Flag dump
34 Default: False
35 Description: Dump some intermediate files.
36 Manual: True
37
38 Flag prof
39 Default: False
40 Description: Turn on profiling settings.
41
42 Library
43 extensions: NoImplicitPrelude
44 ghc-options: -Wall -fno-warn-tabs
45 if flag(dev)
46 cpp-options: -DDEVELOPMENT
47 ghc-options:
48 -- -ddump-splices
49 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
50 -- -fno-warn-type-defaults -fno-warn-orphans
51 else
52 ghc-options: -O2
53 if flag(prof)
54 cpp-options: -DPROFILING
55 ghc-options: -O2 -fprof-auto
56 if flag(double)
57 cpp-options: -DDOUBLE
58 if flag(dump)
59 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
60 -- default-language: Haskell2010
61 exposed-modules:
62 Hcompta.Account
63 Hcompta.Amount
64 Hcompta.Balance
65 Hcompta.Chart
66 Hcompta.Date
67 Hcompta.Date.Interval
68 -- Hcompta.Diff
69 Hcompta.Filter
70 Hcompta.Filter.Amount
71 Hcompta.Filter.Amount.Read
72 Hcompta.Filter.Date.Read
73 Hcompta.Filter.Read
74 Hcompta.Filter.Reduce
75 Hcompta.GL
76 Hcompta.Journal
77 Hcompta.Lib.Applicative
78 Hcompta.Lib.Consable
79 Hcompta.Lib.Foldable
80 Hcompta.Lib.Interval
81 Hcompta.Lib.Interval.Sieve
82 Hcompta.Lib.Leijen
83 Hcompta.Lib.Map.Strict
84 Hcompta.Lib.NonEmpty
85 Hcompta.Lib.Parsec
86 Hcompta.Lib.Path
87 Hcompta.Lib.Regex
88 Hcompta.Lib.Strict
89 Hcompta.Lib.TreeMap
90 Hcompta.Posting
91 Hcompta.Stats
92 Hcompta.Tag
93 Hcompta.Transaction
94 Hcompta.Polarize
95 Hcompta.Quantity
96 Hcompta.Unit
97 build-depends:
98 base >= 4.6 && < 5
99 , ansi-terminal >= 0.4 && < 0.7
100 , array
101 , containers >= 0.5 && < 0.6
102 -- NOTE: needed for Data.Map.Strict
103 -- , collections-api
104 -- , collections-base-instances
105 , Decimal
106 , deepseq
107 , directory
108 , filepath
109 , fingertree
110 -- , HUnit
111 , integer-gmp
112 -- , lens
113 -- , mmorph
114 -- , mtl >= 2.0
115 , parsec >= 3.1.2 && < 4
116 -- NOTE: needed for Text.Parsec.Text
117 , regex-base
118 , regex-tdfa
119 , regex-tdfa-text
120 -- , safe >= 0.2
121 , semigroups
122 , strict
123 , test-framework
124 , test-framework-hunit
125 , text
126 , time
127 -- , trace
128 , transformers >= 0.4 && < 0.5
129 -- NOTE: needed for Control.Monad.Trans.Except
130
131 test-suite Test
132 type: exitcode-stdio-1.0
133 main-is: Main.hs
134 hs-source-dirs: Test
135 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
136 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
137 -- default-language: Haskell2010
138 build-depends:
139 hcompta-lib
140 , base >= 4.6 && < 5
141 , containers >= 0.5 && < 0.6
142 , Decimal
143 , HUnit
144 , parsec >= 3.1.2 && < 4
145 -- , safe
146 , semigroups
147 , strict
148 , test-framework
149 , test-framework-hunit
150 , text
151 , time
152 , transformers