]> Git — Sourcephile - comptalang.git/blob - jcc/hcompta-jcc.cabal
Simplify hcompta-lib.
[comptalang.git] / jcc / hcompta-jcc.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/hcompta
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:
10 extra-tmp-files:
11 -- homepage: http://pad.autogeree.net/economie/hcompta/1
12 license: GPL-3
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.10.3
19 version: 1.201608
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 Manual: True
29
30 Flag dump
31 Default: False
32 Description: Dump some intermediate files.
33 Manual: True
34
35 Flag prof
36 Default: False
37 Description: Turn on profiling settings.
38 Manual: True
39
40 Flag threaded
41 Default: False
42 Description: Enable threads.
43 Manual: True
44
45 Library
46 extensions: NoImplicitPrelude
47 ghc-options: -Wall -fno-warn-tabs
48 if flag(dev)
49 cpp-options: -DDEVELOPMENT
50 ghc-options:
51 if flag(prof)
52 cpp-options: -DPROFILING
53 ghc-options: -fprof-auto
54 if flag(dump)
55 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
56 -- default-language: Haskell2010
57 exposed-modules:
58 Hcompta.JCC
59 Hcompta.JCC.Account
60 Hcompta.JCC.Amount
61 Hcompta.JCC.Chart
62 Hcompta.JCC.Journal
63 Hcompta.JCC.Lib.FilePath
64 Hcompta.JCC.Lib.Parsec
65 Hcompta.JCC.Posting
66 Hcompta.JCC.Read
67 Hcompta.JCC.Transaction
68 Hcompta.JCC.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 , Decimal
76 , deepseq
77 , directory
78 , filepath
79 , fingertree
80 , hcompta-lib
81 , integer-gmp
82 , mono-traversable
83 , parsec >= 3.1.2 && < 4
84 -- NOTE: needed for Text.Parsec.Text
85 , parsec-error-custom
86 -- , regex-base
87 -- , regex-tdfa
88 -- , regex-tdfa-text
89 , safe-exceptions
90 , semigroups
91 , strict
92 , text
93 , time
94 , transformers >= 0.4 && < 0.5
95 -- NOTE: needed for Control.Monad.Trans.Except
96 , treemap
97 , walderleijen-ansi-text
98
99 Test-Suite hcompta-jcc-test
100 type: exitcode-stdio-1.0
101 -- default-language: Haskell2010
102 extensions: NoImplicitPrelude
103 ghc-options: -Wall -fno-warn-tabs
104 -main-is Test
105 hs-source-dirs: Hcompta/JCC
106 main-is: Test.hs
107 other-modules:
108 Read.Test
109 Write.Test
110 if flag(threaded)
111 ghc-options: -threaded -rtsopts -with-rtsopts=-N
112 if flag(dev)
113 cpp-options: -DDEVELOPMENT
114 ghc-options:
115 if flag(prof)
116 cpp-options: -DPROFILING
117 ghc-options: -fprof-auto
118 build-depends:
119 base >= 4.6 && < 5
120 , containers >= 0.5 && < 0.6
121 , Decimal
122 , hcompta-lib
123 , hcompta-jcc
124 , parsec >= 3.1.2 && < 4
125 -- NOTE: needed for Text.Parsec.Text
126 , parsec-error-custom
127 , semigroups
128 , strict
129 , tasty >= 0.11
130 , tasty-hunit
131 , text
132 , time
133 , transformers >= 0.4 && < 0.5
134 , treemap
135 , walderleijen-ansi-text