]> Git — Sourcephile - comptalang.git/blob - jcc/hcompta-jcc.cabal
Ajout : Hcompta.Format.JCC.
[comptalang.git] / jcc / hcompta-jcc.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: JCC (Journal Comptable Convivial) support for Hcompta.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://pad.autogeree.net/economie/hcompta/1
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-jcc
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.JCC
57 Hcompta.Format.JCC.Account.Read
58 Hcompta.Format.JCC.Amount
59 Hcompta.Format.JCC.Amount.Read
60 Hcompta.Format.JCC.Amount.Style
61 Hcompta.Format.JCC.Amount.Write
62 Hcompta.Format.JCC.Common.Read
63 Hcompta.Format.JCC.Date.Read
64 Hcompta.Format.JCC.Date.Write
65 Hcompta.Format.JCC.Journal
66 Hcompta.Format.JCC.Quantity
67 Hcompta.Format.JCC.Read
68 Hcompta.Format.JCC.Unit
69 Hcompta.Format.JCC.Write
70 build-depends:
71 base >= 4.6 && < 5
72 , ansi-terminal >= 0.4 && < 0.7
73 , array
74 , containers >= 0.5 && < 0.6
75 -- NOTE: needed for Data.Map.Strict
76 -- , collections-api
77 -- , collections-base-instances
78 , Decimal
79 , deepseq
80 , directory
81 , filepath
82 , fingertree
83 , hcompta-lib
84 -- , HUnit
85 , integer-gmp
86 -- , lens
87 -- , mmorph
88 -- , mtl >= 2.0
89 , parsec >= 3.1.2 && < 4
90 -- NOTE: needed for Text.Parsec.Text
91 , regex-base
92 , regex-tdfa
93 , regex-tdfa-text
94 -- , safe >= 0.2
95 , semigroups
96 , strict
97 , test-framework
98 , test-framework-hunit
99 , text
100 , time
101 -- , trace
102 , transformers >= 0.4 && < 0.5
103 -- NOTE: needed for Control.Monad.Trans.Except
104
105 test-suite Test
106 extensions: NoImplicitPrelude
107 type: exitcode-stdio-1.0
108 main-is: Main.hs
109 hs-source-dirs: Test
110 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
111 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
112 -- default-language: Haskell2010
113 build-depends:
114 hcompta-jcc
115 , hcompta-lib
116 , base >= 4.6 && < 5
117 , containers >= 0.5 && < 0.6
118 , Decimal
119 , HUnit
120 , parsec >= 3.1.2 && < 4
121 -- , safe
122 , semigroups
123 , strict
124 , test-framework
125 , test-framework-hunit
126 , text
127 , time
128 , transformers