diff --git a/dune b/dune new file mode 100644 index 000000000..7066f179f --- /dev/null +++ b/dune @@ -0,0 +1,7 @@ +(env + (_ (flags (:standard -warn-error -69-67-37 -w +a -g)) + (link_flags (:standard -g)) + (js_of_ocaml (flags (:standard --no-inline --debug-info --source-map)) (link_flags (:standard))) + ) +) + diff --git a/dune-project b/dune-project index 7655de077..96e7f248f 100644 --- a/dune-project +++ b/dune-project @@ -1 +1 @@ -(lang dune 1.1) +(lang dune 3.7 ) diff --git a/gui/dune b/gui/dune index bde3e5cd8..bbb2e6e66 100644 --- a/gui/dune +++ b/gui/dune @@ -3,7 +3,7 @@ (modules Common) (libraries js_of_ocaml-lwt) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a + (flags :standard -open Js_of_ocaml)) (executable @@ -12,7 +12,7 @@ (modules KaSimWorker) (libraries kappa_js_lib kappa_json_api) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a + (flags :standard -open Js_of_ocaml -open Kappa_js_lib -open Kappa_json_api)) @@ -23,7 +23,7 @@ (modules KaSaWorker) (libraries kappa_js_lib kappa_kasa_export) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a + (flags :standard -open Js_of_ocaml -open Kappa_js_lib -open Kappa_kasa_export)) @@ -34,7 +34,7 @@ (modules KaStorWorker) (libraries kappa_js_lib kappa_cflow) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a + (flags :standard -open Js_of_ocaml -open Kappa_js_lib -open Kappa_cflow)) @@ -45,7 +45,7 @@ (modules KaMoHaWorker) (libraries kappa_js_lib kappa_grammar) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a)) + (flags :standard )) (executable (name JsSim) @@ -53,7 +53,7 @@ (modules :standard \ Common KaSimWorker KaSaWorker KaStorWorker KaMoHaWorker) (libraries js_of_ocaml-tyxml lwt_react kappa_js_lib kappa_json_api kappa_parameters) (preprocess (pps js_of_ocaml-ppx tyxml-ppx)) - (flags :standard -w +a + (flags :standard -open Js_of_ocaml -open Js_of_ocaml_tyxml -open Kappa_js_lib