]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Remove cli/
[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.20170704
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.Balance
78 Hcompta.Data
79 Hcompta.Date
80 Hcompta.GL
81 Hcompta.Lib.Foldable
82 Hcompta.Lib.Strict
83 Hcompta.Quantity
84 build-depends:
85 base >= 4.6 && < 5
86 , containers >= 0.5 && < 0.6
87 -- NOTE: needed for Data.Map.Strict
88 , Decimal
89 , deepseq >= 1.4.0.0 && < 1.5
90 -- NOTE: needed for NFData (Const a b)
91 , directory
92 , filepath
93 -- , integer-gmp
94 , mono-traversable
95 , semigroups
96 , strict
97 , text
98 , time
99 , transformers >= 0.4 && < 0.6
100 -- NOTE: needed for Control.Monad.Trans.Except
101 , treemap
102 , unix >= 2.7.2.0
103 -- , symantic
104 -- , trace
105 -- , ansi-terminal >= 0.4 && < 0.7
106 -- , array
107 -- , collections-api
108 -- , collections-base-instances
109 -- , fingertree
110 -- , HUnit
111 -- , interval
112 -- , lens
113 -- , mmorph
114 -- , mtl >= 2.0
115 -- , parsec >= 3.1.2 && < 4
116 -- NOTE: needed for Text.Parsec.Text
117 -- , parsec-error-custom
118 -- , regex-base
119 -- , regex-tdfa
120 -- , regex-tdfa-text
121 -- , safe >= 0.2
122
123 Test-Suite hcompta-test
124 type: exitcode-stdio-1.0
125 default-language: Haskell2010
126 default-extensions: NoImplicitPrelude
127 ghc-options: -Wall -fno-warn-tabs
128 -main-is Test
129 hs-source-dirs: Hcompta
130 main-is: Test.hs
131 other-modules:
132 -- Account.Test
133 Balance.Test
134 if flag(threaded)
135 ghc-options: -threaded -rtsopts -with-rtsopts=-N
136 if flag(dev)
137 cpp-options: -DDEVELOPMENT
138 ghc-options:
139 if flag(prof)
140 cpp-options: -DPROFILING
141 ghc-options: -fprof-auto
142 build-depends:
143 base >= 4.6 && < 5
144 , containers >= 0.5 && < 0.6
145 , Decimal
146 , hcompta-lib
147 , mono-traversable
148 , semigroups
149 , strict
150 , tasty >= 0.11
151 , tasty-hunit
152 , text
153 , transformers >= 0.4 && < 0.6
154 , treemap