]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : Filter : Filter_Transaction_Posting : joint les tests sur le même Posting.
[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/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 ghc-options: -Wall -fno-warn-tabs
44 if flag(dev)
45 cpp-options: -DDEVELOPMENT
46 ghc-options:
47 -- -ddump-splices
48 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
49 -- -fno-warn-type-defaults -fno-warn-orphans
50 else
51 ghc-options: -O2
52 if flag(prof)
53 cpp-options: -DPROFILING
54 ghc-options: -O2 -fprof-auto
55 if flag(double)
56 cpp-options: -DDOUBLE
57 if flag(dump)
58 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
59 -- default-language: Haskell2010
60 exposed-modules:
61 Hcompta.Account
62 Hcompta.Account.Read
63 Hcompta.Amount
64 Hcompta.Amount.Quantity
65 Hcompta.Amount.Read
66 Hcompta.Amount.Write
67 Hcompta.Amount.Style
68 Hcompta.Amount.Unit
69 Hcompta.Balance
70 Hcompta.Date
71 Hcompta.Date.Interval
72 Hcompta.Date.Read
73 Hcompta.Date.Write
74 Hcompta.Filter
75 Hcompta.Filter.Read
76 Hcompta.Filter.Reduce
77 Hcompta.Format.CSV
78 Hcompta.Format.Ledger
79 Hcompta.Format.Ledger.Journal
80 Hcompta.Format.Ledger.Read
81 Hcompta.Format.Ledger.Write
82 Hcompta.GL
83 Hcompta.Journal
84 Hcompta.Posting
85 Hcompta.Lib.Consable
86 Hcompta.Lib.Foldable
87 Hcompta.Lib.Interval
88 Hcompta.Lib.Interval.Sieve
89 Hcompta.Lib.Leijen
90 Hcompta.Lib.Map.Strict
91 Hcompta.Lib.Parsec
92 Hcompta.Lib.Path
93 Hcompta.Lib.Regex
94 Hcompta.Lib.Strict
95 Hcompta.Lib.TreeMap
96 build-depends:
97 base >= 4.7 && < 5
98 , ansi-terminal >= 0.4 && < 0.7
99 , array
100 , containers >= 0.5 && < 0.6
101 -- NOTE: needed for Data.Map.Strict
102 -- , collections-api
103 -- , collections-base-instances
104 , Decimal
105 , deepseq
106 , directory
107 , filepath
108 , fingertree
109 -- , HUnit
110 , integer-gmp
111 -- , lens
112 -- , mmorph
113 -- , mtl >= 2.0
114 , parsec >= 3.1.2 && < 4
115 -- NOTE: needed for Text.Parsec.Text
116 , regex-base
117 , regex-tdfa
118 , regex-tdfa-text
119 -- , safe >= 0.2
120 , semigroups
121 , strict
122 , test-framework
123 , test-framework-hunit
124 , text
125 , time
126 -- , trace
127 , transformers >= 0.4 && < 0.5
128 -- NOTE: needed for Control.Monad.Trans.Except
129
130 test-suite Test
131 type: exitcode-stdio-1.0
132 main-is: Main.hs
133 hs-source-dirs: Test
134 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
135 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
136 -- default-language: Haskell2010
137 build-depends:
138 hcompta-lib
139 , base >= 4.7 && < 5
140 , containers >= 0.5 && < 0.6
141 , Decimal
142 , HUnit
143 , parsec >= 3.1.2 && < 4
144 -- , safe
145 , semigroups
146 , strict
147 , test-framework
148 , test-framework-hunit
149 , text
150 , time
151 , transformers