]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Modif : CLI.Lang : utilise la classe ToDoc pour gérer les traductions.
[comptalang.git] / lib / hcompta-lib.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 bug-reports: http://doc.autogeree.net/hcompta/bugs
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Accounting software.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://doc.autogeree.net/hcompta
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-lib
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==7.8.4
19 version: 0.0.0
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
29 Flag double
30 Default: False
31 Description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
32
33 Flag dump
34 Default: False
35 Description: Dump some intermediate files.
36 Manual: True
37
38 Library
39 ghc-options: -Wall -fno-warn-tabs
40 if flag(dev)
41 cpp-options: -DDEVELOPMENT
42 ghc-options:
43 -- -ddump-splices
44 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
45 -- -fno-warn-type-defaults -fno-warn-orphans
46 else
47 ghc-options: -O2
48 if flag(double)
49 cpp-options: -DDOUBLE
50 if flag(dump)
51 ghc-options: -ddump-simple -ddump-stg -ddump-to-file
52 -- default-language: Haskell2010
53 exposed-modules:
54 Hcompta
55 Hcompta.Calc
56 Hcompta.Calc.Balance
57 Hcompta.Calc.Print
58 Hcompta.Calc.Register
59 Hcompta.Calc.Stats
60 Hcompta.Format
61 Hcompta.Format.CSV
62 Hcompta.Format.Ledger
63 Hcompta.Format.Ledger.Journal
64 Hcompta.Format.Ledger.Read
65 Hcompta.Format.Ledger.Write
66 Hcompta.Lib.Foldable
67 Hcompta.Lib.Leijen
68 Hcompta.Lib.Parsec
69 Hcompta.Lib.Path
70 Hcompta.Lib.Regex
71 Hcompta.Lib.TreeMap
72 Hcompta.Model
73 Hcompta.Model.Account
74 Hcompta.Model.Amount
75 Hcompta.Model.Amount.Quantity
76 Hcompta.Model.Amount.Style
77 Hcompta.Model.Amount.Unit
78 Hcompta.Model.Date
79 Hcompta.Model.Date.Read
80 Hcompta.Model.Filter
81 Hcompta.Model.Filter.Read
82 build-depends:
83 base >= 4.3 && < 5
84 , ansi-terminal >= 0.4 && < 0.7
85 , array
86 , containers >= 0.5 && < 0.6
87 -- NOTE: needed for Data.Map.Strict
88 -- , collections-api
89 -- , collections-base-instances
90 , Decimal
91 , directory
92 , filepath
93 , HUnit
94 , integer-gmp
95 -- , lens
96 -- , mmorph
97 -- , mtl >= 2.0
98 , parsec >= 3.1.2 && < 4
99 -- NOTE: needed for Text.Parsec.Text
100 , regex-base
101 , regex-tdfa
102 , regex-tdfa-text
103 -- , safe >= 0.2
104 , semigroups
105 -- , test-framework
106 -- , test-framework-hunit
107 , text
108 , time
109 , transformers >= 0.4 && < 0.5
110 -- NOTE: needed for Control.Monad.Trans.Except
111
112 test-suite Test
113 type: exitcode-stdio-1.0
114 main-is: Main.hs
115 hs-source-dirs: Test
116 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
117 ghc-options: -fno-warn-type-defaults -fno-warn-orphans
118 -- default-language: Haskell2010
119 build-depends:
120 hcompta-lib
121 , base >= 4.3 && < 5
122 , containers >= 0.5 && < 0.6
123 , Decimal
124 , HUnit
125 , parsec >= 3.1.2 && < 4
126 -- , safe
127 , semigroups
128 , test-framework
129 , test-framework-hunit
130 , text
131 , time
132 , transformers