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