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