From 3dd8737c6cd5024ba6fb946dbbf370dfeb852097 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 29 Oct 2026 10:34:55 +0100 Subject: Updated the code the latest js_of_ocaml --- viz.js/dune | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) (limited to 'viz.js/dune') diff --git a/viz.js/dune b/viz.js/dune index 18ba438..9b421b6 100755 --- a/viz.js/dune +++ b/viz.js/dune @@ -1,39 +1,31 @@ (executable (name convert) - (libraries - js_of_ocaml - js_of_ocaml-lwt - promise - process - elements - brr - ) + (libraries js_of_ocaml js_of_ocaml-lwt promise process elements brr) (modes js) - (preprocess (pps js_of_ocaml-ppx)) - (link_flags (:standard -no-check-prims)) - (modules convert dispatch CanvasTool) - ) + (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}))) + (targets convert.js) + (deps convert.bc.js) + (action + (copy %{deps} %{targets}))) (executable (name worker) - (libraries - js_of_ocaml - js_of_ocaml-lwt - promise - process - ) + (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) - ) + (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}))) + (targets worker.js) + (deps worker.bc.js) + (action + (copy %{deps} %{targets}))) -- cgit v1.2.3