-
-
Notifications
You must be signed in to change notification settings - Fork 139
/
Copy pathhaskell-miso.cabal
63 lines (61 loc) · 1.32 KB
/
haskell-miso.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
name: haskell-miso
version: 0.1.0.1
synopsis: https://haskell-miso.org
description: Website for the Miso web framework
homepage: https://haskell-miso.org
license: BSD3
license-file: LICENSE
author: David Johnson
maintainer: code@dmj.io
copyright: David Johnson (c) 2016-2025
category: Web
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
executable server
main-is:
Main.hs
if impl(ghcjs) || arch(javascript)
buildable: False
else
ghc-options:
-O2 -threaded -Wall -rtsopts
hs-source-dirs:
server, shared
build-depends:
aeson,
base < 5,
containers,
http-types,
lucid,
miso,
mtl,
network-uri,
servant,
servant-lucid,
servant-server,
text,
wai,
wai-app-static,
wai-extra,
warp
default-language:
Haskell2010
executable client
main-is:
Main.hs
if !impl(ghcjs) && !arch(javascript)
buildable: False
else
ghcjs-options:
-dedupe -DGHCJS_GC_INTERVAL=5000
hs-source-dirs:
client, shared
build-depends:
aeson,
base < 5,
containers,
miso,
servant
default-language:
Haskell2010