]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Ajout : lib/Hcompta/ : structures de données
[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:
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 -- should set patchlevel here as in Makefile
35 cpp-options: -DPATCHLEVEL=0
36 if flag(dev)
37 cpp-options: -DDEVELOPMENT
38 ghc-options: -Wall -fno-warn-tabs -O0 -ddump-splices
39 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
40 -- -fno-warn-type-defaults -fno-warn-orphans
41 else
42 ghc-options: -Wall -fno-warn-tabs -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.Model
57 Hcompta.Model.Account
58 Hcompta.Model.Amount
59 Hcompta.Model.Amount.Commodity
60 Hcompta.Model.Amount.Quantity
61 Hcompta.Model.Amount.Style
62 Hcompta.Model.Amount.Price
63 Hcompta.Model.Amount.Price.Historical
64 Hcompta.Model.Date
65 Hcompta.Model.Filter
66 Hcompta.Model.Posting
67 Hcompta.Model.Tag
68 Hcompta.Model.Transaction
69 Hcompta.Model.Transaction.Periodic
70 build-depends:
71 base >= 4.3 && < 5
72 , Decimal
73 , HUnit
74 , parsec
75 , safe >= 0.2
76 , time
77
78 test-suite Test
79 type: exitcode-stdio-1.0
80 main-is: Main.hs
81 hs-source-dirs: Test
82 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
83 ghc-options: -fno-warn-type-defaults -fno-warn-orphans
84 -- default-language: Haskell2010
85 build-depends:
86 hcompta-lib
87 , base >= 4.3 && < 5
88 , HUnit
89 , safe
90 , test-framework
91 , test-framework-hunit