-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtour.cabal
73 lines (69 loc) · 1.53 KB
/
tour.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: tour
version: 0.1.0.0
synopsis: Tour frontend
category: Web
build-type: Simple
cabal-version: >=1.10
license: GPL-3
executable tour
main-is: Main.hs
build-depends: base
, miso >= 0.7.8.0
, servant
, text
, time
, naqsha
, containers
, aeson
, scientific
, vector
, bytestring
if !impl(ghcjs)
buildable: False
else
-- ghcjs-options: -dedupe
hs-source-dirs:
frontend, common
cpp-options: -DGHCJS_BROWSER
build-depends: ghcjs-base
-- hs-source-dirs: src-ghcjs
-- else
-- hs-source-dirs: src-ghc
default-language: Haskell2010
default-extensions: OverloadedStrings
, ScopedTypeVariables
executable server
main-is:
Main.hs
if impl(ghcjs)
buildable: False
else
ghc-options:
-O2 -threaded -Wall -rtsopts
hs-source-dirs:
server, common
build-depends:
aeson,
base < 5,
containers,
http-types,
lucid,
miso,
mtl,
network-uri,
servant,
servant-lucid,
servant-server,
wai,
wai-extra,
warp
, hxt
, hxt-xpath
, hxt-xslt
, hxt-relaxng
, hxt-expat
, naqsha
, safe
, yaml
default-language:
Haskell2010