]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : Filter : simplify et context.
[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.Amount
63 Hcompta.Amount.Quantity
64 Hcompta.Amount.Read
65 Hcompta.Amount.Write
66 Hcompta.Amount.Style
67 Hcompta.Amount.Unit
68 Hcompta.Balance
69 Hcompta.Date
70 Hcompta.Date.Interval
71 Hcompta.Date.Read
72 Hcompta.Date.Write
73 Hcompta.Filter
74 Hcompta.Filter.Read
75 Hcompta.Filter.Reduce
76 Hcompta.Format.CSV
77 Hcompta.Format.Ledger
78 Hcompta.Format.Ledger.Journal
79 Hcompta.Format.Ledger.Read
80 Hcompta.Format.Ledger.Write
81 Hcompta.GL
82 Hcompta.Journal
83 Hcompta.Lib.Consable
84 Hcompta.Lib.Foldable
85 Hcompta.Lib.Interval
86 Hcompta.Lib.Interval.Sieve
87 Hcompta.Lib.Leijen
88 Hcompta.Lib.Map.Strict
89 Hcompta.Lib.Parsec
90 Hcompta.Lib.Path
91 Hcompta.Lib.Regex
92 Hcompta.Lib.Strict
93 Hcompta.Lib.TreeMap
94 build-depends:
95 base >= 4.7 && < 5
96 , ansi-terminal >= 0.4 && < 0.7
97 , array
98 , containers >= 0.5 && < 0.6
99 -- NOTE: needed for Data.Map.Strict
100 -- , collections-api
101 -- , collections-base-instances
102 , Decimal
103 , deepseq
104 , directory
105 , filepath
106 , fingertree
107 -- , HUnit
108 , integer-gmp
109 -- , lens
110 -- , mmorph
111 -- , mtl >= 2.0
112 , parsec >= 3.1.2 && < 4
113 -- NOTE: needed for Text.Parsec.Text
114 , regex-base
115 , regex-tdfa
116 , regex-tdfa-text
117 -- , safe >= 0.2
118 , semigroups
119 , strict
120 , test-framework
121 , test-framework-hunit
122 , text
123 , time
124 -- , trace
125 , transformers >= 0.4 && < 0.5
126 -- NOTE: needed for Control.Monad.Trans.Except
127
128 test-suite Test
129 type: exitcode-stdio-1.0
130 main-is: Main.hs
131 hs-source-dirs: Test
132 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
133 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
134 -- default-language: Haskell2010
135 build-depends:
136 hcompta-lib
137 , base >= 4.7 && < 5
138 , containers >= 0.5 && < 0.6
139 , Decimal
140 , HUnit
141 , parsec >= 3.1.2 && < 4
142 -- , safe
143 , semigroups
144 , strict
145 , test-framework
146 , test-framework-hunit
147 , text
148 , time
149 , transformers