]> Git — Sourcephile - comptalang.git/blob - web/hcompta-web.cabal
Correction : CLI.Command.Balance : filtres.
[comptalang.git] / web / hcompta-web.cabal
1 build-type: Simple
2 cabal-version: >= 1.8
3 license-file: COPYING
4 license: GPL
5 name: hcompta-web
6 version: 0.0.0
7
8 Flag dev
9 Description: Turn on development settings, like auto-reload templates.
10 Default: False
11
12 Flag library-only
13 Description: Build for use with "yesod devel"
14 Default: False
15
16 library
17 hs-source-dirs: ., app
18 exposed-modules: Application
19 Foundation
20 Import
21 Import.NoFoundation
22 Model
23 Settings
24 Settings.StaticFiles
25 Handler.Common
26 Handler.Home
27
28 if flag(dev) || flag(library-only)
29 cpp-options: -DDEVELOPMENT
30 ghc-options: -Wall -fwarn-tabs -O0
31 else
32 ghc-options: -Wall -fwarn-tabs -O2
33
34 extensions: CPP
35 DeriveDataTypeable
36 EmptyDataDecls
37 FlexibleContexts
38 GADTs
39 GeneralizedNewtypeDeriving
40 MultiParamTypeClasses
41 NoImplicitPrelude
42 NoMonomorphismRestriction
43 OverloadedStrings
44 QuasiQuotes
45 RecordWildCards
46 TemplateHaskell
47 TupleSections
48 TypeFamilies
49 ViewPatterns
50
51 build-depends: base >= 4 && < 5
52 , aeson >= 0.6 && < 0.9
53 , bytestring >= 0.9 && < 0.11
54 , classy-prelude >= 0.10.2
55 , classy-prelude-conduit >= 0.10.2
56 , classy-prelude-yesod >= 0.10.2
57 , conduit >= 1.0 && < 2.0
58 , containers
59 , data-default
60 , directory >= 1.1 && < 1.3
61 , fast-logger >= 2.2 && < 2.4
62 , file-embed
63 , hjsmin >= 0.1 && < 0.2
64 , http-conduit >= 2.1 && < 2.2
65 , monad-control >= 0.3 && < 1.1
66 , monad-logger >= 0.3 && < 0.4
67 , persistent >= 2.0 && < 2.2
68 , persistent-sqlite >= 2.1.1 && < 2.2
69 , persistent-template >= 2.0 && < 2.2
70 , safe
71 , shakespeare >= 2.0 && < 2.1
72 , template-haskell
73 , text >= 0.11 && < 2.0
74 , time
75 , unordered-containers
76 , vector
77 , wai-extra >= 3.0 && < 3.1
78 , wai-logger >= 2.2 && < 2.3
79 , warp >= 3.0 && < 3.1
80 , yaml >= 0.8 && < 0.9
81 , yesod >= 1.4.1 && < 1.5
82 , yesod-auth >= 1.4.0 && < 1.5
83 , yesod-core >= 1.4.6 && < 1.5
84 , yesod-form >= 1.4.0 && < 1.5
85 , yesod-static >= 1.4.0.3 && < 1.5
86
87 executable hcompta-web
88 if flag(library-only)
89 Buildable: False
90
91 main-is: main.hs
92 hs-source-dirs: app
93 build-depends: base, hcompta-web
94
95 ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
96
97 test-suite test
98 type: exitcode-stdio-1.0
99 main-is: Spec.hs
100 hs-source-dirs: test
101 ghc-options: -Wall
102
103 extensions: CPP
104 DeriveDataTypeable
105 EmptyDataDecls
106 FlexibleContexts
107 GADTs
108 GeneralizedNewtypeDeriving
109 MultiParamTypeClasses
110 NoImplicitPrelude
111 NoMonomorphismRestriction
112 OverloadedStrings
113 QuasiQuotes
114 TemplateHaskell
115 TupleSections
116 TypeFamilies
117 ViewPatterns
118
119 build-depends: base
120 , classy-prelude
121 , classy-prelude-yesod
122 , hcompta-web
123 , hspec >= 2.0.0
124 , monad-logger
125 , persistent
126 , persistent-sqlite
127 , resourcet
128 , shakespeare
129 , transformers
130 , yesod
131 , yesod-core
132 , yesod-test >= 1.4.3 && < 1.5