]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : Hcompta.Format.Text : couleurs ANSI.
[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 type: git
23 location: git://git.autogeree.net/hcompta
24
25 Flag dev
26 Description: Turn on development settings.
27 Default: False
28
29 Flag double
30 Description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
31 Default: False
32
33 Library
34 if flag(dev)
35 cpp-options: -DDEVELOPMENT
36 ghc-options: -Wall -fno-warn-tabs --disable-optimization
37 -- -ddump-splices
38 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
39 -- -fno-warn-type-defaults -fno-warn-orphans
40 else
41 ghc-options: -Wall -fno-warn-tabs
42 -- -O2
43 if flag(double)
44 cpp-options: -DDOUBLE
45 -- default-language: Haskell2010
46 exposed-modules:
47 Hcompta
48 Hcompta.Calc
49 Hcompta.Calc.Balance
50 Hcompta.Calc.Print
51 Hcompta.Calc.Register
52 Hcompta.Calc.Stats
53 Hcompta.Format
54 Hcompta.Format.CSV
55 Hcompta.Format.Ledger
56 Hcompta.Format.Ledger.Journal
57 Hcompta.Format.Ledger.Read
58 Hcompta.Format.Ledger.Write
59 Hcompta.Format.Text
60 Hcompta.Lib.Regex
61 Hcompta.Model
62 Hcompta.Model.Account
63 Hcompta.Model.Amount
64 Hcompta.Model.Amount.Quantity
65 Hcompta.Model.Amount.Style
66 Hcompta.Model.Amount.Unit
67 Hcompta.Model.Conversion
68 Hcompta.Model.Conversion.Historical
69 Hcompta.Model.Date
70 Hcompta.Model.Filter
71 Hcompta.Model.Journal
72 Hcompta.Model.Transaction
73 Hcompta.Model.Transaction.Periodic
74 Hcompta.Model.Transaction.Posting
75 Hcompta.Model.Transaction.Tag
76 build-depends:
77 base >= 4.3 && < 5
78 , ansi-terminal >= 0.4.0
79 , array
80 , containers
81 , Decimal
82 , directory
83 , filepath
84 , HUnit
85 -- , mtl >= 2.0
86 , parsec >= 3.1.2
87 , regex-tdfa
88 , safe >= 0.2
89 , text
90 , time
91 , transformers
92
93 test-suite Test
94 type: exitcode-stdio-1.0
95 main-is: Main.hs
96 hs-source-dirs: Test
97 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
98 ghc-options: -fno-warn-type-defaults -fno-warn-orphans
99 -- default-language: Haskell2010
100 build-depends:
101 hcompta-lib
102 , base >= 4.3 && < 5
103 , containers
104 , Decimal
105 , HUnit
106 , parsec >= 3.1.2
107 , safe
108 , test-framework
109 , test-framework-hunit
110 , text
111 , time
112 , transformers