Skip to content

Commit 90aeb9c

Browse files
committed
copy stdlib build artifacts to the test repo after building the runtime
1 parent ec5de6f commit 90aeb9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/buildRuntimeRewatch.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ cp runtime/lib/es6/*.js lib/es6
1111
cp runtime/lib/js/*.js lib/js
1212
cp runtime/lib/bs/*.@(cmi|cmj|cmt|cmti) lib/ocaml/
1313
cp runtime/*.@(res|resi) lib/ocaml/
14+
# copy the stdlib build artifacts to the testrepo
15+
cp -rf lib/ocaml rewatch/testrepo/node_modules/rescript/lib/ocaml

0 commit comments

Comments
 (0)