]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Rewrite hcompta-lcc to use new symantic.
[comptalang.git] / lcc / hcompta-lcc.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/hcompta
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: LCC (Langage Comptable Convivial) support for Hcompta.
9 extra-source-files:
10 extra-tmp-files:
11 -- homepage: http://pad.autogeree.net/economie/hcompta/1
12 license: GPL-3
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-lcc
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==8.0.2
19 -- PVP: +-+------- breaking API changes
20 -- | | +----- non-breaking API additions
21 -- | | | +--- code changes with no API change
22 version: 0.0.0.201704
23
24 Source-Repository head
25 location: git://git.autogeree.net/hcompta
26 type: git
27
28 Flag dev
29 Default: False
30 Description: Turn on development settings.
31 Manual: True
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 Manual: True
42
43 Flag threaded
44 Default: False
45 Description: Enable threads.
46 Manual: True
47
48 Library
49 extensions:
50 ConstraintKinds
51 DataKinds
52 DefaultSignatures
53 FlexibleContexts
54 FlexibleInstances
55 GeneralizedNewtypeDeriving
56 LambdaCase
57 MultiParamTypeClasses
58 NamedFieldPuns
59 NoImplicitPrelude
60 OverloadedStrings
61 PatternGuards
62 Rank2Types
63 ScopedTypeVariables
64 StandaloneDeriving
65 TupleSections
66 TypeApplications
67 TypeFamilies
68 TypeOperators
69 ghc-options: -Wall -fno-warn-tabs
70 if flag(dev)
71 cpp-options: -DDEVELOPMENT
72 ghc-options:
73 if flag(prof)
74 cpp-options: -DPROFILING
75 ghc-options: -fprof-auto
76 if flag(dump)
77 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
78 -- default-language: Haskell2010
79 exposed-modules:
80 Hcompta.LCC
81 Hcompta.LCC.Account
82 Hcompta.LCC.Amount
83 Hcompta.LCC.Chart
84 Hcompta.LCC.Compta
85 Hcompta.LCC.Grammar
86 Hcompta.LCC.Journal
87 Hcompta.LCC.Lib.FilePath
88 Hcompta.LCC.Lib.Strict
89 Hcompta.LCC.Megaparsec
90 Hcompta.LCC.Name
91 Hcompta.LCC.Posting
92 Hcompta.LCC.Read
93 Hcompta.LCC.Sym
94 Hcompta.LCC.Sym.Account
95 Hcompta.LCC.Sym.Addable
96 Hcompta.LCC.Sym.Amount
97 Hcompta.LCC.Sym.Date
98 Hcompta.LCC.Sym.FileSystem
99 Hcompta.LCC.Sym.Journal
100 Hcompta.LCC.Sym.Negable
101 Hcompta.LCC.Sym.Posting
102 Hcompta.LCC.Sym.Quantity
103 Hcompta.LCC.Sym.Subable
104 Hcompta.LCC.Sym.Transaction
105 Hcompta.LCC.Sym.Unit
106 Hcompta.LCC.Sym.Zipper
107 Hcompta.LCC.Tag
108 Hcompta.LCC.Transaction
109 Hcompta.LCC.Write
110 build-depends:
111 base >= 4.6 && < 5
112 , ansi-terminal >= 0.4 && < 0.7
113 , array
114 , bytestring
115 , containers >= 0.5 && < 0.6
116 -- NOTE: needed for Data.Map.Strict
117 , Decimal
118 , deepseq
119 , directory
120 , filepath
121 , hcompta-lib
122 , integer-gmp
123 , mono-traversable
124 , monad-classes
125 , megaparsec
126 , safe-exceptions
127 , strict
128 , symantic
129 , symantic-grammar
130 , symantic-lib
131 , text
132 , time == 1.6.0.1
133 , transformers >= 0.4 && < 0.6
134 -- NOTE: needed for Control.Monad.Trans.Except
135 , treemap
136 , walderleijen-ansi-text
137 , unix
138 -- , fingertree
139 -- , parsec >= 3.1.2 && < 4
140 -- NOTE: needed for Text.Parsec.Text
141 -- , parsec-error-custom
142 -- , regex-base
143 -- , regex-tdfa
144 -- , regex-tdfa-text
145 -- , semigroups
146
147 Executable eval
148 extensions:
149 ConstraintKinds
150 DataKinds
151 DefaultSignatures
152 EmptyDataDecls
153 FlexibleContexts
154 FlexibleInstances
155 LambdaCase
156 MultiParamTypeClasses
157 NamedFieldPuns
158 OverloadedStrings
159 PatternGuards
160 PolyKinds
161 Rank2Types
162 ScopedTypeVariables
163 StandaloneDeriving
164 TupleSections
165 TypeApplications
166 TypeFamilies
167 TypeOperators
168 ghc-options: -Wall -fno-warn-tabs
169 if flag(threaded)
170 ghc-options: -threaded -rtsopts -with-rtsopts=-N
171 if flag(prof)
172 cpp-options: -DPROFILING
173 ghc-options: -fprof-auto
174 main-is: Eval.hs
175 hs-source-dirs: Hcompta/LCC
176 build-depends:
177 base >= 4.6 && < 5
178 , ansi-terminal >= 0.4 && < 0.7
179 , bytestring
180 , containers >= 0.5 && < 0.6
181 -- NOTE: needed for Data.Map.Strict
182 , Decimal
183 , deepseq
184 -- , directory
185 , hcompta-lcc
186 -- , hcompta-ledger
187 , hcompta-lib
188 -- , HUnit
189 , io-memoize >= 1.1
190 -- NOTE: needed for System.IO.Memoize.once
191 , megaparsec
192 , monad-classes
193 , mono-traversable
194 -- , parsec
195 -- , parsec-error-custom
196 -- , safe >= 0.2
197 , safe-exceptions
198 , semigroups
199 , symantic
200 , symantic-lib
201 , symantic-grammar
202 , strict
203 , symantic
204 -- , template-haskell
205 , text
206 , time
207 , transformers >= 0.4 && < 0.6
208 -- NOTE: needed for Control.Monad.Trans.Except
209 , treemap
210 , walderleijen-ansi-text
211
212 Executable load
213 extensions:
214 ConstraintKinds
215 DataKinds
216 DefaultSignatures
217 EmptyDataDecls
218 FlexibleContexts
219 FlexibleInstances
220 LambdaCase
221 MultiParamTypeClasses
222 NamedFieldPuns
223 OverloadedStrings
224 PatternGuards
225 PolyKinds
226 Rank2Types
227 ScopedTypeVariables
228 StandaloneDeriving
229 TupleSections
230 TypeApplications
231 TypeFamilies
232 TypeOperators
233 ghc-options: -Wall -fno-warn-tabs
234 if flag(threaded)
235 ghc-options: -threaded -rtsopts -with-rtsopts=-N
236 if flag(prof)
237 cpp-options: -DPROFILING
238 ghc-options: -fprof-auto
239 main-is: Load.hs
240 hs-source-dirs: Hcompta/LCC
241 build-depends:
242 base >= 4.6 && < 5
243 , ansi-terminal >= 0.4 && < 0.7
244 , bytestring
245 , containers >= 0.5 && < 0.6
246 -- NOTE: needed for Data.Map.Strict
247 , Decimal
248 , deepseq
249 -- , directory
250 , hcompta-lcc
251 -- , hcompta-ledger
252 , hcompta-lib
253 -- , HUnit
254 , io-memoize >= 1.1
255 -- NOTE: needed for System.IO.Memoize.once
256 , megaparsec
257 , monad-classes
258 , mono-traversable
259 -- , parsec
260 -- , parsec-error-custom
261 -- , safe >= 0.2
262 , safe-exceptions
263 , semigroups
264 , symantic
265 , symantic-lib
266 , symantic-grammar
267 , strict
268 , symantic
269 -- , template-haskell
270 , text
271 , time
272 , transformers >= 0.4 && < 0.6
273 -- NOTE: needed for Control.Monad.Trans.Except
274 , treemap
275 , walderleijen-ansi-text
276
277 -- Test-Suite hcompta-cli-test
278 -- type: exitcode-stdio-1.0
279 -- -- default-language: Haskell2010
280 -- extensions: NoImplicitPrelude
281 -- ghc-options: -Wall -fno-warn-tabs
282 -- -main-is Test
283 -- hs-source-dirs: Hcompta
284 -- main-is: Test.hs
285 -- other-modules:
286 -- if flag(threaded)
287 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
288 -- if flag(dev)
289 -- cpp-options: -DDEVELOPMENT
290 -- ghc-options:
291 -- if flag(prof)
292 -- cpp-options: -DPROFILING
293 -- ghc-options: -fprof-auto
294 -- build-depends:
295 -- base >= 4.6 && < 5
296 -- , containers >= 0.5 && < 0.6
297 -- , Decimal
298 -- , ghc-prim
299 -- , hcompta-lib
300 -- , hcompta-cli
301 -- , semigroups
302 -- , strict
303 -- , tasty >= 0.11
304 -- , tasty-hunit
305 -- , text
306 -- , text-format
307 -- , transformers >= 0.4 && < 0.5
308 -- , treemap
309
310 -- Test-Suite hcompta-lcc-test
311 -- type: exitcode-stdio-1.0
312 -- -- default-language: Haskell2010
313 -- extensions:
314 -- DataKinds
315 -- FlexibleContexts
316 -- FlexibleInstances
317 -- GeneralizedNewtypeDeriving
318 -- MultiParamTypeClasses
319 -- NamedFieldPuns
320 -- NoImplicitPrelude
321 -- OverloadedStrings
322 -- Rank2Types
323 -- ScopedTypeVariables
324 -- TupleSections
325 -- TypeApplications
326 -- TypeFamilies
327 -- TypeOperators
328 -- ghc-options: -Wall -fno-warn-tabs
329 -- -fprint-potential-instances
330 -- -main-is Test
331 -- hs-source-dirs: Hcompta/LCC
332 -- main-is: Test.hs
333 -- other-modules:
334 -- Read.Test
335 -- Write.Test
336 -- Chart.Test
337 -- if flag(threaded)
338 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
339 -- if flag(dev)
340 -- cpp-options: -DDEVELOPMENT
341 -- ghc-options:
342 -- if flag(prof)
343 -- cpp-options: -DPROFILING
344 -- ghc-options: -fprof-auto
345 -- build-depends:
346 -- base >= 4.6 && < 5
347 -- , Decimal
348 -- , containers >= 0.5 && < 0.6
349 -- , directory
350 -- , filepath
351 -- , hcompta-lcc
352 -- , hcompta-lib
353 -- , io-memoize
354 -- , megaparsec
355 -- , monad-classes
356 -- , mono-traversable
357 -- , safe-exceptions
358 -- , semigroups
359 -- , strict
360 -- , symantic
361 -- , symantic-grammar
362 -- , symantic-lib
363 -- , tasty >= 0.11
364 -- , tasty-hunit
365 -- , text
366 -- , time
367 -- , transformers >= 0.4 && < 0.6
368 -- , treemap
369 -- , walderleijen-ansi-text