forked from reflex-frp/reflex-todomvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reflex-todomvc.cabal
130 lines (118 loc) · 2.88 KB
/
reflex-todomvc.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
Name: reflex-todomvc
Version: 0.1
Synopsis: Functional Reactive TodoMVC
Description: An implementation of the TodoMVC specification using the Reflex-DOM functional reactive DOM library
License: BSD3
License-file: LICENSE
Author: Ryan Trinkle
Maintainer: [email protected]
Stability: Experimental
Category: FRP
Build-type: Custom
Cabal-version: >=1.8
flag warp
description: Build relfex-todomvc-warp
default: True
flag webkitgtk
description: Build relfex-todomvc-webkitgtk
default: True
flag wkwebview
description: Build relfex-todomvc-wkwebview
default: True
flag webkit2gtk
description: Use WebKit2 version of WebKitGTK.
default: True
custom-setup
setup-depends: base >= 4.6,
Cabal >= 1.24.2 && < 3,
cabal-macosx >= 0.2.3.4 && < 0.3
benchmark bench-builder-all
if os(ios)
buildable: False
type: exitcode-stdio-1.0
hs-source-dirs: src-bin
main-is: bench.hs
build-depends:
base >= 4.4 && < 5,
reflex-todomvc,
reflex,
reflex-dom,
containers,
mtl,
lens,
ghcjs-dom,
criterion,
dependent-sum,
transformers,
ref-tf,
text
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
library
hs-source-dirs: src
build-depends:
base,
reflex,
file-embed,
ghcjs-dom == 0.9.*,
reflex-dom-core,
containers,
text,
mtl
exposed-modules:
Reflex.TodoMVC
ghc-prof-options: -fprof-auto
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
if os(ios)
build-depends:
jsaddle-wkwebview
exposed-modules:
Reflex.IOS
executable reflex-todomvc
hs-source-dirs: src-bin
main-is: main.hs
build-depends:
base,
ghcjs-dom,
reflex-dom,
reflex-todomvc
ghc-prof-options: -fprof-auto
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
executable reflex-todomvc-warp
if !flag(warp) || impl(ghcjs)
buildable: False
hs-source-dirs: src-bin
main-is: warp.hs
build-depends:
base,
ghcjs-dom,
jsaddle-warp,
reflex-todomvc
ghc-prof-options: -fprof-auto
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
executable reflex-todomvc-webkitgtk
if !flag(webkitgtk) || impl(ghcjs) || os(ios)
buildable: False
hs-source-dirs: src-bin
main-is: webkitgtk.hs
if flag(webkit2gtk)
build-depends:
jsaddle-webkit2gtk
else
build-depends:
jsaddle-webkitgtk
build-depends:
base,
reflex-todomvc
ghc-prof-options: -fprof-auto
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
executable reflex-todomvc-wkwebview
if !flag(wkwebview) || !(os(osx) || os(ios)) || impl(ghcjs)
buildable: False
hs-source-dirs: src-bin
main-is: wkwebview.hs
build-depends:
base,
jsaddle-wkwebview,
reflex-todomvc
ghc-prof-options: -fprof-auto
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2