File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ lib: build node_modules/.bin/semver
53
53
node scripts/ninja.js build
54
54
./scripts/prebuilt.js
55
55
56
+ lib-rewatch : build rewatch node_modules/.bin/semver
57
+ ./scripts/build-lib.sh && ./scripts/prebuilt.js
58
+
56
59
artifacts : lib
57
60
./scripts/makeArtifactList.js
58
61
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ ./rewatch/target/release/rewatch --bsc-path " $( pwd) /bsc" clean
4
+
5
+ ./rewatch/target/release/rewatch --bsc-path " $( pwd) /bsc" build
6
+ cp jscomp/others/* .js lib/js
7
+
8
+ contents=" $( jq ' ."package-specs".module = "es6"' < rescript.json) " && echo " ${contents} " > rescript.json
9
+
10
+ ./rewatch/target/release/rewatch --bsc-path " $( pwd) /bsc" build
11
+ cp jscomp/others/* .js lib/es6
12
+
13
+ contents=" $( jq ' ."package-specs".module = "commonjs"' < rescript.json) " && echo " ${contents} " > rescript.json
You can’t perform that action at this time.
0 commit comments