]> Git — Sourcephile - comptalang.git/blob - cli/hcompta-cli.cabal
Ajout : Hcompta.Format.JCC.
[comptalang.git] / cli / hcompta-cli.cabal
1 AUTHOR: jULIEN mOUTINHO <JULM+HCOMPTA@AUTOGEREE.NET>
2 bug-reports: http://doc.autogeree.net/coop/hcompta/bugs
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Hcompta command line interface.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 extra-source-files:
12 -- i18n/en.msg
13 -- i18n/fr.msg
14 homepage: http://doc.autogeree.net/coop/hcompta
15 license: GPL
16 license-file: COPYING
17 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
18 name: hcompta-cli
19 stability: experimental
20 synopsis: hcompta
21 tested-with: GHC==7.8.4
22 version: 0.0.0
23
24 source-repository head
25 type: git
26 location: git://git.autogeree.net/hcompta
27
28 Flag dev
29 Description: Turn on development settings.
30 Default: False
31
32 Flag dump
33 Default: False
34 Description: Dump some intermediate files.
35 Manual: True
36
37 Flag library-only
38 Description: Build only library.
39 Default: False
40
41 Flag prof
42 Default: False
43 Description: Turn on profiling settings.
44
45 Flag threaded
46 Default: True
47 Description: Enable threads.
48 Manual: True
49
50 Library
51 extensions: NoImplicitPrelude
52 ghc-options: -Wall -fno-warn-tabs
53 if flag(dev)
54 cpp-options: -DDEVELOPMENT
55 ghc-options:
56 else
57 ghc-options: -O2
58 if flag(dump)
59 ghc-options: -ddump-ds -ddump-simpl -ddump-splices -ddump-stg -ddump-to-file
60 if flag(prof)
61 cpp-options: -DPROFILING
62 ghc-options: -fprof-auto
63 -- default-language: Haskell2010
64 exposed-modules:
65 Hcompta.CLI.Args
66 Hcompta.CLI.Command
67 Hcompta.CLI.Command.Balance
68 Hcompta.CLI.Command.GL
69 Hcompta.CLI.Command.Journal
70 Hcompta.CLI.Command.Journals
71 -- Hcompta.CLI.Command.Stats
72 -- Hcompta.CLI.Command.Tags
73 Hcompta.CLI.Context
74 Hcompta.CLI.Env
75 Hcompta.CLI.Format
76 Hcompta.CLI.Format.JCC
77 Hcompta.CLI.Format.Ledger
78 Hcompta.CLI.Lang
79 Hcompta.CLI.Write
80 build-depends:
81 base >= 4.6 && < 5
82 , ansi-terminal >= 0.4 && < 0.7
83 , bytestring
84 , containers
85 , Decimal
86 , deepseq
87 -- , directory
88 , ghc-prim
89 , hcompta-jcc
90 , hcompta-ledger
91 , hcompta-lib
92 -- , HUnit
93 , io-memoize >= 1.1
94 -- NOTE: needed for System.IO.Memoize.once
95 , parsec
96 -- , safe >= 0.2
97 , semigroups
98 , strict
99 -- , template-haskell
100 , text
101 , time
102 , transformers >= 0.4 && < 0.5
103 -- NOTE: needed for Control.Monad.Trans.Except
104
105 Executable hcompta
106 extensions: NoImplicitPrelude
107 ghc-options: -Wall -fno-warn-tabs
108 if flag(threaded)
109 ghc-options: -threaded -rtsopts -with-rtsopts=-N
110 if flag(dev)
111 cpp-options: -DDEVELOPMENT
112 ghc-options:
113 else
114 ghc-options: -O2
115 if flag(prof)
116 cpp-options: -DPROFILING
117 ghc-options: -fprof-auto
118 if flag(library-only)
119 Buildable: False
120 main-is: Hcompta/CLI/Main.hs
121 hs-source-dirs: .
122 build-depends:
123 base >= 4.6 && < 5
124 , ansi-terminal >= 0.4 && < 0.7
125 , bytestring
126 , containers >= 0.5 && < 0.6
127 -- NOTE: needed for Data.Map.Strict
128 , Decimal
129 , deepseq
130 -- , directory
131 , ghc-prim
132 , hcompta-jcc
133 , hcompta-ledger
134 , hcompta-lib
135 -- , HUnit
136 , io-memoize >= 1.1
137 -- NOTE: needed for System.IO.Memoize.once
138 , parsec
139 -- , safe >= 0.2
140 , semigroups
141 , strict
142 -- , template-haskell
143 , text
144 , time
145 , transformers >= 0.4 && < 0.5
146 -- NOTE: needed for Control.Monad.Trans.Except
147
148
149 test-suite Test
150 type: exitcode-stdio-1.0
151 main-is: Main.hs
152 hs-source-dirs: Test
153 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
154 ghc-options: -fno-warn-type-defaults -fno-warn-orphans
155 -- default-language: Haskell2010
156 build-depends:
157 hcompta-cli
158 , hcompta-jcc
159 , hcompta-ledger
160 , base >= 4.6 && < 5
161 , Decimal
162 , HUnit
163 -- , safe
164 , test-framework
165 , test-framework-hunit