]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Add Sym.Compta and sync with 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.201706
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.Document
86 Hcompta.LCC.Grammar
87 Hcompta.LCC.Journal
88 Hcompta.LCC.Lib.FilePath
89 Hcompta.LCC.Lib.Strict
90 Hcompta.LCC.Megaparsec
91 Hcompta.LCC.Name
92 Hcompta.LCC.Posting
93 Hcompta.LCC.Read
94 Hcompta.LCC.Source
95 Hcompta.LCC.Sym
96 Hcompta.LCC.Sym.Account
97 Hcompta.LCC.Sym.Addable
98 Hcompta.LCC.Sym.Amount
99 Hcompta.LCC.Sym.Compta
100 Hcompta.LCC.Sym.Chart
101 Hcompta.LCC.Sym.Date
102 Hcompta.LCC.Sym.FileSystem
103 Hcompta.LCC.Sym.Journal
104 Hcompta.LCC.Sym.Negable
105 Hcompta.LCC.Sym.Posting
106 Hcompta.LCC.Sym.Quantity
107 Hcompta.LCC.Sym.Subable
108 Hcompta.LCC.Sym.Transaction
109 Hcompta.LCC.Sym.Unit
110 Hcompta.LCC.Sym.Zipper
111 Hcompta.LCC.Tag
112 Hcompta.LCC.Transaction
113 build-depends:
114 base >= 4.6 && < 5
115 , ansi-terminal >= 0.4 && < 0.7
116 , array
117 , bytestring
118 , containers >= 0.5 && < 0.6
119 -- NOTE: needed for Data.Map.Strict
120 , Decimal
121 , deepseq
122 , directory
123 , filepath
124 , hcompta-lib
125 , mono-traversable
126 , monad-classes
127 , megaparsec
128 , safe-exceptions
129 , strict
130 , symantic
131 , symantic-document
132 , symantic-grammar
133 , symantic-lib
134 , text
135 , time == 1.6.0.1
136 , transformers >= 0.4 && < 0.6
137 -- NOTE: needed for Control.Monad.Trans.Except
138 , treemap
139 , unix
140 -- , fingertree
141 -- , parsec >= 3.1.2 && < 4
142 -- NOTE: needed for Text.Parsec.Text
143 -- , parsec-error-custom
144 -- , regex-base
145 -- , regex-tdfa
146 -- , regex-tdfa-text
147 -- , semigroups
148
149 Executable eval
150 extensions:
151 ConstraintKinds
152 DataKinds
153 DefaultSignatures
154 EmptyDataDecls
155 FlexibleContexts
156 FlexibleInstances
157 LambdaCase
158 MultiParamTypeClasses
159 NamedFieldPuns
160 NoImplicitPrelude
161 OverloadedStrings
162 PatternGuards
163 PolyKinds
164 Rank2Types
165 ScopedTypeVariables
166 StandaloneDeriving
167 TupleSections
168 TypeApplications
169 TypeFamilies
170 TypeOperators
171 ghc-options: -Wall -fno-warn-tabs
172 if flag(threaded)
173 ghc-options: -threaded -rtsopts -with-rtsopts=-N
174 if flag(prof)
175 cpp-options: -DPROFILING
176 ghc-options: -fprof-auto
177 main-is: Eval.hs
178 hs-source-dirs: Hcompta/LCC
179 build-depends:
180 base >= 4.6 && < 5
181 , ansi-terminal >= 0.4 && < 0.7
182 , bytestring
183 , containers >= 0.5 && < 0.6
184 -- NOTE: needed for Data.Map.Strict
185 , Decimal
186 , deepseq
187 -- , directory
188 , hcompta-lcc
189 -- , hcompta-ledger
190 , hcompta-lib
191 -- , HUnit
192 , io-memoize >= 1.1
193 -- NOTE: needed for System.IO.Memoize.once
194 , megaparsec
195 , monad-classes
196 , mono-traversable
197 -- , parsec
198 -- , parsec-error-custom
199 -- , safe >= 0.2
200 , safe-exceptions
201 , semigroups
202 , symantic
203 , symantic-document
204 , symantic-lib
205 , symantic-grammar
206 , strict
207 -- , template-haskell
208 , text
209 , time
210 , transformers >= 0.4 && < 0.6
211 -- NOTE: needed for Control.Monad.Trans.Except
212 , treemap
213
214 Executable load
215 extensions:
216 ConstraintKinds
217 DataKinds
218 DefaultSignatures
219 EmptyDataDecls
220 FlexibleContexts
221 FlexibleInstances
222 LambdaCase
223 MultiParamTypeClasses
224 NamedFieldPuns
225 NoImplicitPrelude
226 OverloadedStrings
227 PatternGuards
228 PolyKinds
229 Rank2Types
230 ScopedTypeVariables
231 StandaloneDeriving
232 TupleSections
233 TypeApplications
234 TypeFamilies
235 TypeOperators
236 ghc-options: -Wall -fno-warn-tabs
237 if flag(threaded)
238 ghc-options: -threaded -rtsopts -with-rtsopts=-N
239 if flag(prof)
240 cpp-options: -DPROFILING
241 ghc-options: -fprof-auto
242 main-is: Load.hs
243 hs-source-dirs: Hcompta/LCC
244 build-depends:
245 base >= 4.6 && < 5
246 , ansi-terminal >= 0.4 && < 0.7
247 , bytestring
248 , containers >= 0.5 && < 0.6
249 -- NOTE: needed for Data.Map.Strict
250 , Decimal
251 , deepseq
252 -- , directory
253 , hcompta-lcc
254 -- , hcompta-ledger
255 , hcompta-lib
256 -- , HUnit
257 , io-memoize >= 1.1
258 -- NOTE: needed for System.IO.Memoize.once
259 , megaparsec
260 , monad-classes
261 , mono-traversable
262 -- , parsec
263 -- , parsec-error-custom
264 -- , safe >= 0.2
265 , safe-exceptions
266 , semigroups
267 , symantic
268 , symantic-document
269 , symantic-lib
270 , symantic-grammar
271 , strict
272 -- , template-haskell
273 , text
274 , time
275 , transformers >= 0.4 && < 0.6
276 -- NOTE: needed for Control.Monad.Trans.Except
277 , treemap
278
279 -- Test-Suite hcompta-cli-test
280 -- type: exitcode-stdio-1.0
281 -- -- default-language: Haskell2010
282 -- extensions: NoImplicitPrelude
283 -- ghc-options: -Wall -fno-warn-tabs
284 -- -main-is Test
285 -- hs-source-dirs: Hcompta
286 -- main-is: Test.hs
287 -- other-modules:
288 -- if flag(threaded)
289 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
290 -- if flag(dev)
291 -- cpp-options: -DDEVELOPMENT
292 -- ghc-options:
293 -- if flag(prof)
294 -- cpp-options: -DPROFILING
295 -- ghc-options: -fprof-auto
296 -- build-depends:
297 -- base >= 4.6 && < 5
298 -- , containers >= 0.5 && < 0.6
299 -- , Decimal
300 -- , ghc-prim
301 -- , hcompta-lib
302 -- , hcompta-cli
303 -- , semigroups
304 -- , strict
305 -- , tasty >= 0.11
306 -- , tasty-hunit
307 -- , text
308 -- , text-format
309 -- , transformers >= 0.4 && < 0.5
310 -- , treemap
311
312 -- Test-Suite hcompta-lcc-test
313 -- type: exitcode-stdio-1.0
314 -- -- default-language: Haskell2010
315 -- extensions:
316 -- DataKinds
317 -- FlexibleContexts
318 -- FlexibleInstances
319 -- GeneralizedNewtypeDeriving
320 -- MultiParamTypeClasses
321 -- NamedFieldPuns
322 -- NoImplicitPrelude
323 -- OverloadedStrings
324 -- Rank2Types
325 -- ScopedTypeVariables
326 -- TupleSections
327 -- TypeApplications
328 -- TypeFamilies
329 -- TypeOperators
330 -- ghc-options: -Wall -fno-warn-tabs
331 -- -fprint-potential-instances
332 -- -main-is Test
333 -- hs-source-dirs: Hcompta/LCC
334 -- main-is: Test.hs
335 -- other-modules:
336 -- Read.Test
337 -- Write.Test
338 -- Chart.Test
339 -- if flag(threaded)
340 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
341 -- if flag(dev)
342 -- cpp-options: -DDEVELOPMENT
343 -- ghc-options:
344 -- if flag(prof)
345 -- cpp-options: -DPROFILING
346 -- ghc-options: -fprof-auto
347 -- build-depends:
348 -- base >= 4.6 && < 5
349 -- , Decimal
350 -- , containers >= 0.5 && < 0.6
351 -- , directory
352 -- , filepath
353 -- , hcompta-lcc
354 -- , hcompta-lib
355 -- , io-memoize
356 -- , megaparsec
357 -- , monad-classes
358 -- , mono-traversable
359 -- , safe-exceptions
360 -- , semigroups
361 -- , strict
362 -- , symantic
363 -- , symantic-document
364 -- , symantic-grammar
365 -- , symantic-lib
366 -- , tasty >= 0.11
367 -- , tasty-hunit
368 -- , text
369 -- , time
370 -- , transformers >= 0.4 && < 0.6
371 -- , treemap