]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Rewrite hcompta-lcc to use new symantic.
[comptalang.git] / lib / hcompta-lib.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.24
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description:
9 Accounting.
10 extra-source-files:
11 extra-tmp-files:
12 -- homepage: http://doc.autogeree.net/hcompta
13 license: GPL-3
14 license-file: COPYING
15 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
16 name: hcompta-lib
17 stability: experimental
18 synopsis: Accounting software.
19 tested-with: GHC==8.0.1
20 version: 3.201701
21
22 Source-Repository head
23 location: git://git.autogeree.net/hcompta
24 type: git
25
26 Flag dev
27 Default: False
28 Description: Turn on development settings.
29 Manual: True
30
31 Flag dump
32 Default: False
33 Description: Dump some intermediate files.
34 Manual: True
35
36 Flag prof
37 Default: False
38 Description: Turn on profiling settings.
39 Manual: True
40
41 Flag threaded
42 Default: False
43 Description: Enable threads.
44 Manual: True
45
46 Library
47 default-extensions:
48 NoImplicitPrelude
49 BangPatterns
50 DeriveDataTypeable
51 FlexibleContexts
52 FlexibleInstances
53 GeneralizedNewtypeDeriving
54 MultiParamTypeClasses
55 NamedFieldPuns
56 OverloadedStrings
57 RecordWildCards
58 ScopedTypeVariables
59 TupleSections
60 TypeApplications
61 TypeFamilies
62 TypeOperators
63 ghc-options: -Wall -fno-warn-tabs
64 if flag(dev)
65 cpp-options: -DDEVELOPMENT
66 ghc-options:
67 if flag(prof)
68 cpp-options: -DPROFILING
69 ghc-options: -fprof-auto
70 -- if flag(double)
71 -- cpp-options: -DDOUBLE
72 if flag(dump)
73 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
74 default-language: Haskell2010
75 exposed-modules:
76 Hcompta
77 Hcompta.Account
78 Hcompta.Amount
79 Hcompta.Anchor
80 Hcompta.Balance
81 -- Hcompta.Chart
82 Hcompta.Date
83 Hcompta.GL
84 Hcompta.Journal
85 Hcompta.Lib.Applicative
86 Hcompta.Lib.Consable
87 Hcompta.Lib.Foldable
88 Hcompta.Lib.NonEmpty
89 Hcompta.Lib.Strict
90 Hcompta.Name
91 Hcompta.Has
92 Hcompta.Polarize
93 Hcompta.Posting
94 Hcompta.Quantity
95 -- Hcompta.Stats
96 Hcompta.Tag
97 Hcompta.Transaction
98 Hcompta.Unit
99 -- Hcompta.Lib.Parsec
100 -- Hcompta.Date.Interval
101 -- -- Hcompta.Diff
102 -- -- Hcompta.Filter
103 -- Hcompta.Filter.Amount
104 -- Hcompta.Filter.Amount.Read
105 -- Hcompta.Filter.Date.Read
106 -- -- Hcompta.Filter.Read
107 -- -- Hcompta.Filter.Reduce
108 build-depends:
109 base >= 4.6 && < 5
110 -- , ansi-terminal >= 0.4 && < 0.7
111 -- , array
112 , containers >= 0.5 && < 0.6
113 -- NOTE: needed for Data.Map.Strict
114 -- , collections-api
115 -- , collections-base-instances
116 , Decimal
117 , deepseq >= 1.4.0.0 && < 1.5
118 -- NOTE: needed for NFData (Const a b)
119 , directory
120 , filepath
121 -- , fingertree
122 -- , HUnit
123 , integer-gmp
124 -- , interval
125 -- , lens
126 -- , mmorph
127 -- , mtl >= 2.0
128 , mono-traversable
129 -- , parsec >= 3.1.2 && < 4
130 -- NOTE: needed for Text.Parsec.Text
131 -- , parsec-error-custom
132 -- , regex-base
133 -- , regex-tdfa
134 -- , regex-tdfa-text
135 -- , safe >= 0.2
136 , semigroups
137 , strict
138 -- , symantic
139 , text
140 , time
141 -- , trace
142 , transformers >= 0.4 && < 0.6
143 -- NOTE: needed for Control.Monad.Trans.Except
144 , treemap
145 , unix >= 2.7.2.0
146
147 Test-Suite hcompta-test
148 type: exitcode-stdio-1.0
149 default-language: Haskell2010
150 default-extensions: NoImplicitPrelude
151 ghc-options: -Wall -fno-warn-tabs
152 -main-is Test
153 hs-source-dirs: Hcompta
154 main-is: Test.hs
155 other-modules:
156 -- Account.Test
157 Balance.Test
158 if flag(threaded)
159 ghc-options: -threaded -rtsopts -with-rtsopts=-N
160 if flag(dev)
161 cpp-options: -DDEVELOPMENT
162 ghc-options:
163 if flag(prof)
164 cpp-options: -DPROFILING
165 ghc-options: -fprof-auto
166 build-depends:
167 base >= 4.6 && < 5
168 , containers >= 0.5 && < 0.6
169 , Decimal
170 , hcompta-lib
171 , semigroups
172 , strict
173 , tasty >= 0.11
174 , tasty-hunit
175 , text
176 , transformers >= 0.4 && < 0.6
177 , treemap