]> Git — Sourcephile - comptalang.git/blob - ledger/hcompta-ledger.cabal
Modification : sépare hcompta-ledger de hcompta-lib.
[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.Read
58 Hcompta.Format.Ledger.Amount
59 Hcompta.Format.Ledger.Amount.Read
60 Hcompta.Format.Ledger.Amount.Style
61 Hcompta.Format.Ledger.Amount.Write
62 Hcompta.Format.Ledger.Date.Read
63 Hcompta.Format.Ledger.Date.Write
64 Hcompta.Format.Ledger.Journal
65 Hcompta.Format.Ledger.Quantity
66 Hcompta.Format.Ledger.Read
67 Hcompta.Format.Ledger.Unit
68 Hcompta.Format.Ledger.Write
69 build-depends:
70 base >= 4.6 && < 5
71 , ansi-terminal >= 0.4 && < 0.7
72 , array
73 , containers >= 0.5 && < 0.6
74 -- NOTE: needed for Data.Map.Strict
75 -- , collections-api
76 -- , collections-base-instances
77 , Decimal
78 , deepseq
79 , directory
80 , filepath
81 , fingertree
82 , hcompta-lib
83 -- , HUnit
84 , integer-gmp
85 -- , lens
86 -- , mmorph
87 -- , mtl >= 2.0
88 , parsec >= 3.1.2 && < 4
89 -- NOTE: needed for Text.Parsec.Text
90 , regex-base
91 , regex-tdfa
92 , regex-tdfa-text
93 -- , safe >= 0.2
94 , semigroups
95 , strict
96 , test-framework
97 , test-framework-hunit
98 , text
99 , time
100 -- , trace
101 , transformers >= 0.4 && < 0.5
102 -- NOTE: needed for Control.Monad.Trans.Except
103
104 test-suite Test
105 type: exitcode-stdio-1.0
106 main-is: Main.hs
107 hs-source-dirs: Test
108 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
109 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
110 -- default-language: Haskell2010
111 build-depends:
112 hcompta-ledger
113 , hcompta-lib
114 , base >= 4.6 && < 5
115 , containers >= 0.5 && < 0.6
116 , Decimal
117 , HUnit
118 , parsec >= 3.1.2 && < 4
119 -- , safe
120 , semigroups
121 , strict
122 , test-framework
123 , test-framework-hunit
124 , text
125 , time
126 , transformers