]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : Hcompta.Format.JCC.
[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.Posting
92 Hcompta.Stats
93 Hcompta.Tag
94 Hcompta.Transaction
95 Hcompta.Polarize
96 Hcompta.Quantity
97 Hcompta.Unit
98 build-depends:
99 base >= 4.6 && < 5
100 , ansi-terminal >= 0.4 && < 0.7
101 , array
102 , containers >= 0.5 && < 0.6
103 -- NOTE: needed for Data.Map.Strict
104 -- , collections-api
105 -- , collections-base-instances
106 , Decimal
107 , deepseq >= 1.4.0.0 && < 1.5
108 -- NOTE: needed for NFData (Const a b)
109 , directory
110 , filepath
111 , fingertree
112 -- , HUnit
113 , integer-gmp
114 -- , lens
115 -- , mmorph
116 -- , mtl >= 2.0
117 , parsec >= 3.1.2 && < 4
118 -- NOTE: needed for Text.Parsec.Text
119 , regex-base
120 , regex-tdfa
121 , regex-tdfa-text
122 -- , safe >= 0.2
123 , semigroups
124 , strict
125 , test-framework
126 , test-framework-hunit
127 , text
128 , time
129 -- , trace
130 , transformers >= 0.4 && < 0.5
131 -- NOTE: needed for Control.Monad.Trans.Except
132
133 test-suite Test
134 type: exitcode-stdio-1.0
135 main-is: Main.hs
136 hs-source-dirs: Test
137 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
138 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
139 -- default-language: Haskell2010
140 build-depends:
141 hcompta-lib
142 , base >= 4.6 && < 5
143 , containers >= 0.5 && < 0.6
144 , Decimal
145 , HUnit
146 , parsec >= 3.1.2 && < 4
147 -- , safe
148 , semigroups
149 , strict
150 , test-framework
151 , test-framework-hunit
152 , text
153 , time
154 , transformers