Skip to content

Commit 8354e23

Browse files
committed
Examples: load shapes in separate compilation example
1 parent 2038a0a commit 8354e23

File tree

1 file changed

+12
-0
lines changed
  • examples/separate_compilation

1 file changed

+12
-0
lines changed

examples/separate_compilation/dune

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
(action
3030
(run
3131
%{bin:js_of_ocaml}
32+
--load-shape
33+
%{dep:stdlib.cma.js}
3234
--pretty
3335
--source-map
3436
%{dep:lib1.cma}
@@ -40,6 +42,8 @@
4042
(action
4143
(run
4244
%{bin:js_of_ocaml}
45+
--load-shape
46+
%{dep:stdlib.cma.js}
4347
--pretty
4448
--source-map
4549
%{dep:module1.cmo}
@@ -51,6 +55,12 @@
5155
(action
5256
(run
5357
%{bin:js_of_ocaml}
58+
--load-shape
59+
%{dep:stdlib.cma.js}
60+
--load-shape
61+
%{dep:lib1.cma.js}
62+
--load-shape
63+
%{dep:module1.js}
5464
--pretty
5565
--source-map
5666
%{dep:module2.cmo}
@@ -73,6 +83,8 @@
7383
(action
7484
(run
7585
%{bin:js_of_ocaml}
86+
--load-shape
87+
%{dep:stdlib.cma.js}
7688
--pretty
7789
--source-map
7890
%{lib:stdlib:std_exit.cmo}

0 commit comments

Comments
 (0)