-
Notifications
You must be signed in to change notification settings - Fork 9
/
dune
63 lines (61 loc) · 1.17 KB
/
dune
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
(env
(dev
(wasm_of_ocaml
(enabled_if false))
(flags
(:standard -w +a-4-40-41-42-44-48-58-66-70))
(env-vars
(js-enabled true)))
(using-effects
(wasm_of_ocaml
(enabled_if false))
(js_of_ocaml
(compilation_mode separate)
(flags
(:standard --enable effects))
(build_runtime_flags
(:standard --enable effects)))
(env-vars
(js-enabled true)))
(wasm
(binaries
(tools/node_wrapper.sh as node))
(js_of_ocaml
(enabled_if false))
(wasm_of_ocaml
(compilation_mode separate))
(env-vars
(js-enabled false)))
(wasm-effects
(binaries
(tools/node_wrapper.sh as node))
(js_of_ocaml
(enabled_if false))
(wasm_of_ocaml
(compilation_mode separate)
(flags
(:standard --enable effects)))
(env-vars
(js-enabled false)))
(bench_no_debug
(flags
(:standard \ -g))
(ocamlc_flags
(:standard \ -g))
(link_flags
(:standard \ -g))
(env-vars
(js-enabled true)))
(_
(env-vars
(js-enabled true))))
(rule
(targets version.ml.in)
(action
(with-stdout-to
%{targets}
(run
%{dep:tools/version/gen/gen.exe}
%{dep:VERSION}
%{dep:tools/version/GIT-VERSION}))))
(data_only_dirs _wikidoc doc-dev)