(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})))