]> Git — Sourcephile - comptalang.git/blob - web/hcompta-web.cabal
Polissage : hlint.
[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: DeriveDataTypeable
35 EmptyDataDecls
36 FlexibleContexts
37 GeneralizedNewtypeDeriving
38 MultiParamTypeClasses
39 NoImplicitPrelude
40 NoMonomorphismRestriction
41 OverloadedStrings
42 QuasiQuotes
43 RecordWildCards
44 TupleSections
45
46 build-depends: base >= 4 && < 5
47 , aeson >= 0.6 && < 0.9
48 , bytestring >= 0.9 && < 0.11
49 , classy-prelude >= 0.10.2
50 , classy-prelude-conduit >= 0.10.2
51 , classy-prelude-yesod >= 0.10.2
52 , conduit >= 1.0 && < 2.0
53 , containers
54 , data-default
55 , directory >= 1.1 && < 1.3
56 , fast-logger >= 2.2 && < 2.4
57 , file-embed
58 , hjsmin >= 0.1 && < 0.2
59 , http-conduit >= 2.1 && < 2.2
60 , monad-control >= 0.3 && < 1.1
61 , monad-logger >= 0.3 && < 0.4
62 , persistent >= 2.0 && < 2.2
63 , persistent-sqlite >= 2.1.1 && < 2.2
64 , persistent-template >= 2.0 && < 2.2
65 , safe
66 , shakespeare >= 2.0 && < 2.1
67 , template-haskell
68 , text >= 0.11 && < 2.0
69 , time
70 , unordered-containers
71 , vector
72 , wai-extra >= 3.0 && < 3.1
73 , wai-logger >= 2.2 && < 2.3
74 , warp >= 3.0 && < 3.1
75 , yaml >= 0.8 && < 0.9
76 , yesod >= 1.4.1 && < 1.5
77 , yesod-auth >= 1.4.0 && < 1.5
78 , yesod-core >= 1.4.6 && < 1.5
79 , yesod-form >= 1.4.0 && < 1.5
80 , yesod-static >= 1.4.0.3 && < 1.5
81
82 executable hcompta-web
83 if flag(library-only)
84 Buildable: False
85
86 main-is: main.hs
87 hs-source-dirs: app
88 build-depends: base, hcompta-web
89
90 ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
91
92 test-suite test
93 type: exitcode-stdio-1.0
94 main-is: Spec.hs
95 hs-source-dirs: test
96 ghc-options: -Wall
97
98 extensions: CPP
99 DeriveDataTypeable
100 EmptyDataDecls
101 FlexibleContexts
102 GADTs
103 GeneralizedNewtypeDeriving
104 MultiParamTypeClasses
105 NoImplicitPrelude
106 NoMonomorphismRestriction
107 OverloadedStrings
108 QuasiQuotes
109 TemplateHaskell
110 TupleSections
111 TypeFamilies
112 ViewPatterns
113
114 build-depends: base
115 , classy-prelude
116 , classy-prelude-yesod
117 , hcompta-web
118 , hspec >= 2.0.0
119 , monad-logger
120 , persistent
121 , persistent-sqlite
122 , resourcet
123 , shakespeare
124 , transformers
125 , yesod
126 , yesod-core
127 , yesod-test >= 1.4.3 && < 1.5