diff options
Diffstat (limited to 'bar.cabal')
-rw-r--r-- | bar.cabal | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/bar.cabal b/bar.cabal deleted file mode 100644 index 7ed983b..0000000 --- a/bar.cabal +++ /dev/null | |||
@@ -1,140 +0,0 @@ | |||
1 | name: bar | ||
2 | version: 0.6.6 | ||
3 | cabal-version: >= 1.8 | ||
4 | build-type: Simple | ||
5 | |||
6 | Flag dev | ||
7 | Description: Turn on development settings, like auto-reload templates. | ||
8 | Default: False | ||
9 | |||
10 | Flag library-only | ||
11 | Description: Build for use with "yesod devel" | ||
12 | Default: False | ||
13 | |||
14 | library | ||
15 | hs-source-dirs: ., app | ||
16 | exposed-modules: Application | ||
17 | Foundation | ||
18 | Import | ||
19 | Import.NoFoundation | ||
20 | Model | ||
21 | Model.Types | ||
22 | Settings | ||
23 | Settings.StaticFiles | ||
24 | Handler.Common | ||
25 | Handler.Common.Types | ||
26 | Handler.InventoryListing | ||
27 | Handler.UpdateItem | ||
28 | Handler.OpenItem | ||
29 | Handler.LowItem | ||
30 | Handler.DeleteItem | ||
31 | Handler.Item | ||
32 | Handler.ReferenceListing | ||
33 | Handler.ReferenceItem | ||
34 | Handler.DeleteRefItem | ||
35 | Handler.Kinds | ||
36 | Handler.Types | ||
37 | Handler.List | ||
38 | Handler.InventoryList | ||
39 | |||
40 | if flag(dev) || flag(library-only) | ||
41 | cpp-options: -DDEVELOPMENT | ||
42 | ghc-options: -Wall -fwarn-tabs -O0 | ||
43 | else | ||
44 | ghc-options: -Wall -fwarn-tabs -O2 | ||
45 | |||
46 | extensions: TemplateHaskell | ||
47 | QuasiQuotes | ||
48 | OverloadedStrings | ||
49 | NoImplicitPrelude | ||
50 | MultiParamTypeClasses | ||
51 | TypeFamilies | ||
52 | GADTs | ||
53 | GeneralizedNewtypeDeriving | ||
54 | FlexibleContexts | ||
55 | FlexibleInstances | ||
56 | EmptyDataDecls | ||
57 | NoMonomorphismRestriction | ||
58 | DeriveDataTypeable | ||
59 | ViewPatterns | ||
60 | TupleSections | ||
61 | RecordWildCards | ||
62 | CPP | ||
63 | |||
64 | build-depends: | ||
65 | -- Due to a bug in GHC 8.0.1, we block its usage | ||
66 | -- See: https://ghc.haskell.org/trac/ghc/ticket/12130 | ||
67 | base >= 4.8.2.0 && < 4.9 | ||
68 | || >= 4.9.1.0 && < 5 | ||
69 | |||
70 | , yesod >= 1.6.0 && < 1.7 | ||
71 | , yesod-core >= 1.6.2 && < 1.7 | ||
72 | , yesod-auth >= 1.6.2 && < 1.7 | ||
73 | , yesod-static >= 1.6.0 && < 1.7 | ||
74 | , yesod-form >= 1.6.1 && < 1.7 | ||
75 | , classy-prelude >= 0.10.2 | ||
76 | , classy-prelude-conduit >= 0.10.2 | ||
77 | -- version 1.0 had a bug in reexporting Handler, causing trouble | ||
78 | , classy-prelude-yesod >= 0.10.2 && < 1.0 | ||
79 | || >= 1.1 | ||
80 | , bytestring >= 0.9 && < 0.11 | ||
81 | , text >= 0.11 && < 2.0 | ||
82 | , persistent >= 2.8.1 && < 2.9 | ||
83 | , persistent-postgresql >= 2.8.2 && < 2.9 | ||
84 | , persistent-template >= 2.0 && < 2.7 | ||
85 | , template-haskell | ||
86 | , shakespeare >= 2.0 && < 2.1 | ||
87 | , hjsmin >= 0.1 && < 0.3 | ||
88 | , monad-control >= 0.3 && < 1.1 | ||
89 | , wai-extra >= 3.0 && < 3.1 | ||
90 | , yaml >= 0.8 && < 0.9 | ||
91 | , http-conduit >= 2.3.0 && < 2.4 | ||
92 | , directory >= 1.1 && < 1.4 | ||
93 | , warp >= 3.0 && < 3.3 | ||
94 | , data-default | ||
95 | , aeson >= 1.2.4 && < 1.5 | ||
96 | , conduit >= 1.0 && < 2.0 | ||
97 | , monad-logger >= 0.3 && < 0.4 | ||
98 | , fast-logger >= 2.2 && < 2.5 | ||
99 | , wai-logger >= 2.2 && < 2.4 | ||
100 | , file-embed | ||
101 | , safe | ||
102 | , unordered-containers | ||
103 | , containers | ||
104 | , vector | ||
105 | , time | ||
106 | , case-insensitive | ||
107 | , wai | ||
108 | , mtl | ||
109 | , lens | ||
110 | , thermoprint-client | ||
111 | , hashids | ||
112 | , systemd | ||
113 | |||
114 | executable bar | ||
115 | if flag(library-only) | ||
116 | Buildable: False | ||
117 | |||
118 | main-is: main.hs | ||
119 | hs-source-dirs: app | ||
120 | build-depends: base, bar | ||
121 | |||
122 | ghc-options: -threaded -rtsopts -with-rtsopts=-N | ||
123 | |||
124 | extensions: TemplateHaskell | ||
125 | QuasiQuotes | ||
126 | OverloadedStrings | ||
127 | NoImplicitPrelude | ||
128 | MultiParamTypeClasses | ||
129 | TypeFamilies | ||
130 | GADTs | ||
131 | GeneralizedNewtypeDeriving | ||
132 | FlexibleContexts | ||
133 | FlexibleInstances | ||
134 | EmptyDataDecls | ||
135 | NoMonomorphismRestriction | ||
136 | DeriveDataTypeable | ||
137 | ViewPatterns | ||
138 | TupleSections | ||
139 | RecordWildCards | ||
140 | CPP | ||