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