Skip to content

Commit

Permalink
add js_of_ocaml flag to all js executables
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Mar 21, 2024
1 parent aa9c9ef commit e7284c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gui/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
(executable
(name KaSimWorker)
(modes js)
(js_of_ocaml (flags :standard --disable globaldeadcode --disable deadcode))
(modules KaSimWorker)
(libraries kappa_js_lib kappa_json_api)
(preprocess
Expand All @@ -27,6 +28,7 @@
(executable
(name KaSaWorker)
(modes js)
(js_of_ocaml (flags :standard --disable globaldeadcode --disable deadcode))
(modules KaSaWorker)
(libraries kappa_js_lib kappa_kasa_export)
(preprocess
Expand All @@ -45,6 +47,7 @@
(executable
(name KaStorWorker)
(modes js)
(js_of_ocaml (flags :standard --disable globaldeadcode --disable deadcode))
(modules KaStorWorker)
(libraries kappa_js_lib kappa_cflow)
(preprocess
Expand All @@ -63,6 +66,7 @@
(executable
(name KaMoHaWorker)
(modes js)
(js_of_ocaml (flags :standard --disable globaldeadcode --disable deadcode))
(modules KaMoHaWorker)
(libraries kappa_js_lib kappa_grammar)
(preprocess
Expand All @@ -72,6 +76,7 @@
(executable
(name JsSim)
(modes js)
(js_of_ocaml (flags :standard --disable globaldeadcode --disable deadcode))
(modules
:standard
\
Expand Down Expand Up @@ -121,5 +126,4 @@
-open
Kappa_cflow
)
(js_of_ocaml (flags --disable globaldeadcode --disable deadcode))
)

0 comments on commit e7284c0

Please sign in to comment.