]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Add Compta to the symantics.
[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.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.Sym
95 Hcompta.LCC.Sym.Account
96 Hcompta.LCC.Sym.Addable
97 Hcompta.LCC.Sym.Amount
98 Hcompta.LCC.Sym.Compta
99 Hcompta.LCC.Sym.Date
100 Hcompta.LCC.Sym.FileSystem
101 Hcompta.LCC.Sym.Journal
102 Hcompta.LCC.Sym.Negable
103 Hcompta.LCC.Sym.Posting
104 Hcompta.LCC.Sym.Quantity
105 Hcompta.LCC.Sym.Subable
106 Hcompta.LCC.Sym.Transaction
107 Hcompta.LCC.Sym.Unit
108 Hcompta.LCC.Sym.Zipper
109 Hcompta.LCC.Tag
110 Hcompta.LCC.Transaction
111 build-depends:
112 base >= 4.6 && < 5
113 , ansi-terminal >= 0.4 && < 0.7
114 , array
115 , bytestring
116 , containers >= 0.5 && < 0.6
117 -- NOTE: needed for Data.Map.Strict
118 , Decimal
119 , deepseq
120 , directory
121 , filepath
122 , hcompta-lib
123 , mono-traversable
124 , monad-classes
125 , megaparsec
126 , safe-exceptions
127 , strict
128 , symantic
129 , symantic-document
130 , symantic-grammar
131 , symantic-lib
132 , text
133 , time == 1.6.0.1
134 , transformers >= 0.4 && < 0.6
135 -- NOTE: needed for Control.Monad.Trans.Except
136 , treemap
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 NoImplicitPrelude
159 OverloadedStrings
160 PatternGuards
161 PolyKinds
162 Rank2Types
163 ScopedTypeVariables
164 StandaloneDeriving
165 TupleSections
166 TypeApplications
167 TypeFamilies
168 TypeOperators
169 ghc-options: -Wall -fno-warn-tabs
170 if flag(threaded)
171 ghc-options: -threaded -rtsopts -with-rtsopts=-N
172 if flag(prof)
173 cpp-options: -DPROFILING
174 ghc-options: -fprof-auto
175 main-is: Eval.hs
176 hs-source-dirs: Hcompta/LCC
177 build-depends:
178 base >= 4.6 && < 5
179 , ansi-terminal >= 0.4 && < 0.7
180 , bytestring
181 , containers >= 0.5 && < 0.6
182 -- NOTE: needed for Data.Map.Strict
183 , Decimal
184 , deepseq
185 -- , directory
186 , hcompta-lcc
187 -- , hcompta-ledger
188 , hcompta-lib
189 -- , HUnit
190 , io-memoize >= 1.1
191 -- NOTE: needed for System.IO.Memoize.once
192 , megaparsec
193 , monad-classes
194 , mono-traversable
195 -- , parsec
196 -- , parsec-error-custom
197 -- , safe >= 0.2
198 , safe-exceptions
199 , semigroups
200 , symantic
201 , symantic-document
202 , symantic-lib
203 , symantic-grammar
204 , strict
205 -- , template-haskell
206 , text
207 , time
208 , transformers >= 0.4 && < 0.6
209 -- NOTE: needed for Control.Monad.Trans.Except
210 , treemap
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 NoImplicitPrelude
224 OverloadedStrings
225 PatternGuards
226 PolyKinds
227 Rank2Types
228 ScopedTypeVariables
229 StandaloneDeriving
230 TupleSections
231 TypeApplications
232 TypeFamilies
233 TypeOperators
234 ghc-options: -Wall -fno-warn-tabs
235 if flag(threaded)
236 ghc-options: -threaded -rtsopts -with-rtsopts=-N
237 if flag(prof)
238 cpp-options: -DPROFILING
239 ghc-options: -fprof-auto
240 main-is: Load.hs
241 hs-source-dirs: Hcompta/LCC
242 build-depends:
243 base >= 4.6 && < 5
244 , ansi-terminal >= 0.4 && < 0.7
245 , bytestring
246 , containers >= 0.5 && < 0.6
247 -- NOTE: needed for Data.Map.Strict
248 , Decimal
249 , deepseq
250 -- , directory
251 , hcompta-lcc
252 -- , hcompta-ledger
253 , hcompta-lib
254 -- , HUnit
255 , io-memoize >= 1.1
256 -- NOTE: needed for System.IO.Memoize.once
257 , megaparsec
258 , monad-classes
259 , mono-traversable
260 -- , parsec
261 -- , parsec-error-custom
262 -- , safe >= 0.2
263 , safe-exceptions
264 , semigroups
265 , symantic
266 , symantic-document
267 , symantic-lib
268 , symantic-grammar
269 , strict
270 -- , template-haskell
271 , text
272 , time
273 , transformers >= 0.4 && < 0.6
274 -- NOTE: needed for Control.Monad.Trans.Except
275 , treemap
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-document
362 -- , symantic-grammar
363 -- , symantic-lib
364 -- , tasty >= 0.11
365 -- , tasty-hunit
366 -- , text
367 -- , time
368 -- , transformers >= 0.4 && < 0.6
369 -- , treemap