diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 15:38:37 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:01:12 +0100 |
commit | 77544bdfad2af41514ec1435f706fee87ea2969e (patch) | |
tree | 4de23870e08711da25ff92e9670370fc0a74e459 /viz.js/dune | |
parent | ad526111f0dd619ae9e0e98ef2253146b58a068f (diff) |
Added viz.js code
Diffstat (limited to 'viz.js/dune')
-rwxr-xr-x | viz.js/dune | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/viz.js/dune b/viz.js/dune new file mode 100755 index 0000000..d6eba67 --- /dev/null +++ b/viz.js/dune @@ -0,0 +1,37 @@ +(executable + (name convert) + (libraries + js_of_ocaml + js_of_ocaml-lwt + promise + process + ) + (modes js) + (preprocess (pps js_of_ocaml-ppx)) + (link_flags (:standard -no-check-prims)) + (modules convert dispatch CanvasTool) + ) + +(rule + (targets convert.js) + (deps convert.bc.js) + (action (copy %{deps} %{targets}))) + +(executable + (name worker) + (libraries + js_of_ocaml + js_of_ocaml-lwt + promise + process + ) + (modes js) + (preprocess (pps js_of_ocaml-ppx)) + (link_flags (:standard -no-check-prims)) + (modules worker) + ) + +(rule + (targets worker.js) + (deps worker.bc.js) + (action (copy %{deps} %{targets}))) |