]> Git — Sourcephile - comptalang.git/blob - ledger/hcompta-ledger.cabal
Ajout : Hcompta.Format.JCC.
[comptalang.git] / ledger / hcompta-ledger.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: Ledger support for Hcompta.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://doc.autogeree.net/coop/hcompta
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-ledger
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 dump
30 Default: False
31 Description: Dump some intermediate files.
32 Manual: True
33
34 Flag prof
35 Default: False
36 Description: Turn on profiling settings.
37
38 Library
39 extensions: NoImplicitPrelude
40 ghc-options: -Wall -fno-warn-tabs
41 if flag(dev)
42 cpp-options: -DDEVELOPMENT
43 ghc-options:
44 -- -ddump-splices
45 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
46 -- -fno-warn-type-defaults -fno-warn-orphans
47 else
48 ghc-options: -O2
49 if flag(prof)
50 cpp-options: -DPROFILING
51 ghc-options: -O2 -fprof-auto
52 if flag(dump)
53 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
54 -- default-language: Haskell2010
55 exposed-modules:
56 Hcompta.Format.Ledger
57 Hcompta.Format.Ledger.Account
58 Hcompta.Format.Ledger.Amount
59 Hcompta.Format.Ledger.Chart
60 Hcompta.Format.Ledger.Journal
61 Hcompta.Format.Ledger.Posting
62 Hcompta.Format.Ledger.Read
63 Hcompta.Format.Ledger.Transaction
64 Hcompta.Format.Ledger.Write
65 build-depends:
66 base >= 4.6 && < 5
67 , ansi-terminal >= 0.4 && < 0.7
68 , array
69 , containers >= 0.5 && < 0.6
70 -- NOTE: needed for Data.Map.Strict
71 -- , collections-api
72 -- , collections-base-instances
73 , Decimal
74 , deepseq
75 , directory
76 , filepath
77 , fingertree
78 , hcompta-lib
79 -- , HUnit
80 , integer-gmp
81 -- , lens
82 -- , mmorph
83 -- , mtl >= 2.0
84 , parsec >= 3.1.2 && < 4
85 -- NOTE: needed for Text.Parsec.Text
86 , regex-base
87 , regex-tdfa
88 , regex-tdfa-text
89 -- , safe >= 0.2
90 , semigroups
91 , strict
92 , test-framework
93 , test-framework-hunit
94 , text
95 , time
96 -- , trace
97 , transformers >= 0.4 && < 0.5
98 -- NOTE: needed for Control.Monad.Trans.Except
99
100 test-suite Test
101 extensions: NoImplicitPrelude
102 type: exitcode-stdio-1.0
103 main-is: Main.hs
104 hs-source-dirs: Test
105 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
106 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
107 -- default-language: Haskell2010
108 build-depends:
109 hcompta-ledger
110 , hcompta-lib
111 , base >= 4.6 && < 5
112 , containers >= 0.5 && < 0.6
113 , Decimal
114 , HUnit
115 , parsec >= 3.1.2 && < 4
116 -- , safe
117 , semigroups
118 , strict
119 , test-framework
120 , test-framework-hunit
121 , text
122 , time
123 , transformers