/
web-ghc.cabal
97 lines (92 loc) · 2.54 KB
/
web-ghc.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
cabal-version: 2.0
name: web-ghc
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
maintainer: david.smith@tweag.io
author: David Smith
homepage: https://github.com/tbco/zerepoch#readme
bug-reports: https://github.com/tbco/zerepoch/issues
description:
Please see the README on GitHub at <https://github.com/The-Blockchain-Company/zerepoch/web-ghc#readme>
build-type: Simple
data-files:
source-repository head
type: git
location: https://github.com/tbco/zerepoch
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: False
manual: True
library
exposed-modules:
Interpreter
Webghc.Server
Webghc.Client
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wcompat -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wno-missing-import-lists -Wredundant-constraints
build-depends:
base >=4.7 && <5,
aeson -any,
servant,
servant-server,
servant-client,
exceptions,
newtype-generics,
regex-compat,
time-units,
filepath,
temporary,
mtl,
playground-common,
text
executable web-ghc-server
main-is: Main.hs
hs-source-dirs: app
other-modules:
Webserver
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wcompat
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wno-missing-import-lists -Wredundant-constraints -O0
-Wunused-packages
build-depends:
base >=4.7 && <5,
data-default-class,
exceptions,
http-types,
monad-logger,
mtl,
optparse-applicative,
playground-common,
prometheus,
servant-server,
servant,
text,
time-units,
wai-cors,
wai-extra,
wai,
warp,
yaml,
web-ghc
test-suite web-ghc-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wcompat
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wno-missing-import-lists -Wredundant-constraints
-fprint-potential-instances -Wunused-packages
build-depends:
base >=4.7 && <5,
tasty,
web-ghc