this repo has no description
1(vendored_dirs jsoo-code-mirror)
2
3(rule
4 (mode promote)
5 (target x-ocaml.js)
6 (deps src/x_ocaml.bc.js)
7 (action
8 (copy %{deps} %{target})))
9
10(rule
11 (mode promote)
12 (target x-ocaml.worker+effects.js)
13 (deps worker/effects/x_worker.bc.js)
14 (action
15 (copy %{deps} %{target})))
16
17(rule
18 (mode promote)
19 (target x-ocaml.worker.js)
20 (deps worker/no-effects/x_worker.bc.js)
21 (action
22 (copy %{deps} %{target})))
23
24(rule
25 (target README.md.expected)
26 (enabled_if
27 (= %{profile} release))
28 (action
29 (progn
30 (with-stdout-to
31 %{target}
32 (pipe-stdout
33 (run sha256sum %{dep:x-ocaml.js})
34 (run grep -o "^[^ ]\\+")
35 (run xxd -r -p)
36 (run base64)
37 (bash
38 "read hash; sed -E \"s| integrity=.*$| integrity=\\\"sha256-$hash\\\"|\" ../../README.md")))
39 (diff %{dep:README.md} %{target}))))