Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Sep 19, 2024
1 parent 4415698 commit 90aa8a7
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions compiler/tests-dynlink-js/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
(:standard -linkall))
;; Until dune is fixed https://github.com/ocaml/dune/pull/10935
(js_of_ocaml
(flags (:standard) --linkall (:include effects_flags.sexp))
(build_runtime_flags (:standard) (:include effects_flags.sexp))
(flags
(:standard)
--linkall
(:include effects_flags.sexp))
(build_runtime_flags
(:standard)
(:include effects_flags.sexp))
(link_flags (:standard)))
(modes js byte))


(executable
(name effects_flags)
(modules effects_flags))
Expand All @@ -21,7 +25,7 @@
(action
(with-stdout-to
%{target}
(run ./effects_flags.exe sexp %{profile} ))))
(run ./effects_flags.exe sexp %{profile}))))

(rule
(target effects_flags.txt)
Expand All @@ -33,7 +37,13 @@
(rule
(target main.js)
(action
(run %{bin:js_of_ocaml} --linkall %{read-strings:effects_flags.txt} -o %{target} %{dep:main.bc})))
(run
%{bin:js_of_ocaml}
--linkall
%{read-strings:effects_flags.txt}
-o
%{target}
%{dep:main.bc})))

(rule
(target plugin.cmo)
Expand All @@ -43,7 +53,10 @@
(rule
(target plugin.js)
(action
(run %{bin:js_of_ocaml} %{read-strings:effects_flags.txt} %{dep:./plugin.cmo})))
(run
%{bin:js_of_ocaml}
%{read-strings:effects_flags.txt}
%{dep:./plugin.cmo})))

(rule
(target plugin2.cma)
Expand All @@ -59,7 +72,10 @@
(rule
(target plugin2.js)
(action
(run %{bin:js_of_ocaml} %{read-strings:effects_flags.txt} %{dep:./plugin2.cma})))
(run
%{bin:js_of_ocaml}
%{read-strings:effects_flags.txt}
%{dep:./plugin2.cma})))

(rule
(target main.out)
Expand Down

0 comments on commit 90aa8a7

Please sign in to comment.