-
Notifications
You must be signed in to change notification settings - Fork 1
/
algo.cabal
74 lines (64 loc) · 1.91 KB
/
algo.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
Name: algo
Version: 0.1
Synopsis: Simple JSON server for prototyping
Description: Algonauts unite!
License: MIT
Author: Harri Salokorpi
Maintainer: hsalokor@gmail.com
Stability: Experimental
Category: Web
Build-type: Simple
Cabal-version: >=1.10
Flag development
Description: Whether to build the server in development (interpreted) mode
Default: True
Executable test
hs-source-dirs: src
main-is: CmdLine/Main.hs
default-language: Haskell2010
default-extensions:
OverloadedStrings
DeriveDataTypeable
Build-depends:
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.10,
data-lens >= 2.0.1 && < 2.1,
data-lens-template >= 2.1 && < 2.2,
MonadCatchIO-transformers >= 0.2.1 && < 0.3,
mtl >= 2 && < 3,
text >= 0.11,
time >= 1.1 && < 1.4,
syb >= 0.3.5,
aeson >= 0.4.0,
parallel >= 3.1.0.1
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-orphans -fno-warn-unused-do-bind -fno-warn-missing-signatures -fno-warn-name-shadowing
Executable server
hs-source-dirs: src
main-is: JsonServer/Main.hs
default-language: Haskell2010
default-extensions:
OverloadedStrings
DeriveDataTypeable
Build-depends:
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.10,
data-lens >= 2.0.1 && < 2.1,
data-lens-template >= 2.1 && < 2.2,
MonadCatchIO-transformers >= 0.2.1 && < 0.3,
mtl >= 2 && < 3,
snap == 0.7.*,
snap-core == 0.7.*,
snap-server == 0.7.*,
text >= 0.11,
time >= 1.1 && < 1.4,
aeson >= 0.4.0.0,
syb >= 0.3.5,
parallel >= 2.2.0.1
if flag(development)
cpp-options: -DDEVELOPMENT
build-depends: hint >= 0.3.2 && < 0.4
ghc-options: -threaded -w
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-orphans