]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Change hcompta-jcc to hcompta-lcc.
[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.1
19 version: 1.201612
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 Manual: True
29
30 Flag dump
31 Default: False
32 Description: Dump some intermediate files.
33 Manual: True
34
35 Flag prof
36 Default: False
37 Description: Turn on profiling settings.
38 Manual: True
39
40 Flag threaded
41 Default: False
42 Description: Enable threads.
43 Manual: True
44
45 Library
46 extensions: NoImplicitPrelude
47 ghc-options: -Wall -fno-warn-tabs
48 if flag(dev)
49 cpp-options: -DDEVELOPMENT
50 ghc-options:
51 if flag(prof)
52 cpp-options: -DPROFILING
53 ghc-options: -fprof-auto
54 if flag(dump)
55 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
56 -- default-language: Haskell2010
57 exposed-modules:
58 Hcompta.LCC
59 Hcompta.LCC.Account
60 Hcompta.LCC.Amount
61 Hcompta.LCC.Anchor
62 Hcompta.LCC.Chart
63 Hcompta.LCC.Journal
64 Hcompta.LCC.Lib.FilePath
65 Hcompta.LCC.Lib.Parsec
66 Hcompta.LCC.Name
67 Hcompta.LCC.Posting
68 Hcompta.LCC.Read
69 Hcompta.LCC.Tag
70 Hcompta.LCC.Transaction
71 Hcompta.LCC.Write
72 build-depends:
73 base >= 4.6 && < 5
74 , ansi-terminal >= 0.4 && < 0.7
75 , array
76 , containers >= 0.5 && < 0.6
77 -- NOTE: needed for Data.Map.Strict
78 , Decimal
79 , deepseq
80 , directory
81 , filepath
82 -- , fingertree
83 , hcompta-lib
84 , integer-gmp
85 , mono-traversable
86 , parsec >= 3.1.2 && < 4
87 -- NOTE: needed for Text.Parsec.Text
88 , parsec-error-custom
89 -- , regex-base
90 -- , regex-tdfa
91 -- , regex-tdfa-text
92 , safe-exceptions
93 -- , semigroups
94 , strict
95 , text
96 , time == 1.6.0.1
97 , transformers >= 0.4 && < 0.6
98 -- NOTE: needed for Control.Monad.Trans.Except
99 , treemap
100 , walderleijen-ansi-text
101
102 Test-Suite hcompta-lcc-test
103 type: exitcode-stdio-1.0
104 -- default-language: Haskell2010
105 extensions: NoImplicitPrelude
106 ghc-options: -Wall -fno-warn-tabs
107 -main-is Test
108 hs-source-dirs: Hcompta/LCC
109 main-is: Test.hs
110 other-modules:
111 Read.Test
112 Write.Test
113 if flag(threaded)
114 ghc-options: -threaded -rtsopts -with-rtsopts=-N
115 if flag(dev)
116 cpp-options: -DDEVELOPMENT
117 ghc-options:
118 if flag(prof)
119 cpp-options: -DPROFILING
120 ghc-options: -fprof-auto
121 build-depends:
122 base >= 4.6 && < 5
123 , containers >= 0.5 && < 0.6
124 , Decimal
125 , directory
126 , filepath
127 , io-memoize
128 , hcompta-lib
129 , hcompta-lcc
130 , mono-traversable
131 , parsec >= 3.1.2 && < 4
132 -- NOTE: needed for Text.Parsec.Text
133 , parsec-error-custom
134 , semigroups
135 , strict
136 , tasty >= 0.11
137 , tasty-hunit
138 , text
139 , time
140 , transformers >= 0.4 && < 0.6
141 , treemap
142 , walderleijen-ansi-text