]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Rewrite hcompta-lcc to use symantic-grammar.
[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.201703
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.Journal
85 Hcompta.LCC.Lib.FilePath
86 Hcompta.LCC.Lib.Strict
87 Hcompta.LCC.Name
88 Hcompta.LCC.Posting
89 Hcompta.LCC.Read
90 Hcompta.LCC.Sym
91 Hcompta.LCC.Sym.Account
92 Hcompta.LCC.Sym.Addable
93 Hcompta.LCC.Sym.Amount
94 Hcompta.LCC.Sym.Date
95 Hcompta.LCC.Sym.FileSystem
96 Hcompta.LCC.Sym.Journal
97 Hcompta.LCC.Sym.Negable
98 Hcompta.LCC.Sym.Posting
99 Hcompta.LCC.Sym.Quantity
100 Hcompta.LCC.Sym.Subable
101 Hcompta.LCC.Sym.Transaction
102 Hcompta.LCC.Sym.Unit
103 Hcompta.LCC.Sym.Zipper
104 Hcompta.LCC.Tag
105 Hcompta.LCC.Transaction
106 Hcompta.LCC.Write
107 build-depends:
108 base >= 4.6 && < 5
109 , ansi-terminal >= 0.4 && < 0.7
110 , array
111 , bytestring
112 , containers >= 0.5 && < 0.6
113 -- NOTE: needed for Data.Map.Strict
114 , Decimal
115 , deepseq
116 , directory
117 , filepath
118 , hcompta-lib
119 , integer-gmp
120 , mono-traversable
121 , monad-classes
122 , megaparsec
123 , safe-exceptions
124 , strict
125 , symantic
126 , symantic-grammar
127 , symantic-lib
128 , text
129 , time == 1.6.0.1
130 , transformers >= 0.4 && < 0.6
131 -- NOTE: needed for Control.Monad.Trans.Except
132 , treemap
133 , walderleijen-ansi-text
134 , unix
135 -- , fingertree
136 -- , parsec >= 3.1.2 && < 4
137 -- NOTE: needed for Text.Parsec.Text
138 -- , parsec-error-custom
139 -- , regex-base
140 -- , regex-tdfa
141 -- , regex-tdfa-text
142 -- , semigroups
143
144 Test-Suite hcompta-lcc-test
145 type: exitcode-stdio-1.0
146 -- default-language: Haskell2010
147 extensions:
148 DataKinds
149 FlexibleContexts
150 FlexibleInstances
151 GeneralizedNewtypeDeriving
152 MultiParamTypeClasses
153 NamedFieldPuns
154 NoImplicitPrelude
155 OverloadedStrings
156 Rank2Types
157 ScopedTypeVariables
158 TupleSections
159 TypeApplications
160 TypeFamilies
161 TypeOperators
162 ghc-options: -Wall -fno-warn-tabs
163 -fprint-potential-instances
164 -main-is Test
165 hs-source-dirs: Hcompta/LCC
166 main-is: Test.hs
167 other-modules:
168 Read.Test
169 Write.Test
170 Chart.Test
171 if flag(threaded)
172 ghc-options: -threaded -rtsopts -with-rtsopts=-N
173 if flag(dev)
174 cpp-options: -DDEVELOPMENT
175 ghc-options:
176 if flag(prof)
177 cpp-options: -DPROFILING
178 ghc-options: -fprof-auto
179 build-depends:
180 base >= 4.6 && < 5
181 , Decimal
182 , containers >= 0.5 && < 0.6
183 , directory
184 , filepath
185 , hcompta-lcc
186 , hcompta-lib
187 , io-memoize
188 , megaparsec
189 , monad-classes
190 , mono-traversable
191 , safe-exceptions
192 , semigroups
193 , strict
194 , symantic
195 , symantic-grammar
196 , symantic-lib
197 , tasty >= 0.11
198 , tasty-hunit
199 , text
200 , time
201 , transformers >= 0.4 && < 0.6
202 , treemap
203 , walderleijen-ansi-text