File: dune

package info (click to toggle)
js-of-ocaml 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,932 kB
  • sloc: ml: 135,957; javascript: 58,364; ansic: 437; makefile: 422; sh: 12; perl: 4
file content (83 lines) | stat: -rw-r--r-- 1,741 bytes parent folder | download
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
(env
 (dev
  (flags
   (:standard -w +a-4-40-41-42-44-48-58-66-70))
  (js_of_ocaml
   (flags
    (:include ci.flags)
    (:standard)))
  (binaries
   (tools/node_wrapper.exe as node)
   (tools/node_wrapper.exe as node.exe)))
 (with-effects
  (js_of_ocaml
   (compilation_mode separate)
   (flags
    (:include ci.flags)
    (:standard --effects cps)))
  (wasm_of_ocaml
   (compilation_mode separate)
   (flags
    (:standard --effects cps)))
  (binaries
   (tools/node_wrapper.exe as node)
   (tools/node_wrapper.exe as node.exe)))
 (with-effects-double-translation
  (js_of_ocaml
   (compilation_mode separate)
   (flags
    (:include ci.flags)
    (:standard --effects double-translation))
   (build_runtime_flags
    (:standard --effects double-translation)))
  (wasm_of_ocaml
   ;; Double transaction is not supported in wasm
   (enabled_if false))
  (binaries
   (tools/node_wrapper.exe as node)
   (tools/node_wrapper.exe as node.exe)))
 (bench_no_debug
  (flags
   (:standard \ -g))
  (ocamlc_flags
   (:standard \ -g))
  (link_flags
   (:standard \ -g))
  (binaries
   (tools/node_wrapper.exe as node)
   (tools/node_wrapper.exe as node.exe)))
 (_
  (binaries
   (tools/node_wrapper.exe as node)
   (tools/node_wrapper.exe as node.exe))))

(rule
 (targets version.ml.in)
 (action
  (with-stdout-to
   %{targets}
   (run
    %{dep:tools/version/gen/gen.exe}
    %{dep:VERSION}
    %{dep:tools/version/GIT-VERSION}))))

(rule
 (target ci.flags)
 (enabled_if
  (not %{env:CI=false}))
 (action
  (with-stdout-to
   %{target}
   (echo "()"))))

(rule
 (target ci.flags)
 (enabled_if %{env:CI=false})
 (action
  (with-stdout-to
   %{target}
   (echo "(--debug invariant)"))))

(data_only_dirs _wikidoc doc-dev janestreet)

(vendored_dirs)