]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : CLI.Command.{Journals,Stats,Tags}.
[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.Style
67 Hcompta.Amount.Unit
68 Hcompta.Amount.Write
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.Lib.Consable
85 Hcompta.Lib.Foldable
86 Hcompta.Lib.Interval
87 Hcompta.Lib.Interval.Sieve
88 Hcompta.Lib.Leijen
89 Hcompta.Lib.Map.Strict
90 Hcompta.Lib.NonEmpty
91 Hcompta.Lib.Parsec
92 Hcompta.Lib.Path
93 Hcompta.Lib.Regex
94 Hcompta.Lib.Strict
95 Hcompta.Lib.TreeMap
96 Hcompta.Posting
97 Hcompta.Stats
98 Hcompta.Tag
99 build-depends:
100 base >= 4.7 && < 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
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.7 && < 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