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