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 @@ -52,6 +52,9 @@ lib: build rewatch node_modules/.bin/semver
52
52
node scripts/ninja.js build
53
53
./scripts/prebuilt.js
54
54
55
+ lib-rewatch : build rewatch node_modules/.bin/semver
56
+ ./scripts/build-lib.sh && ./scripts/prebuilt.js
57
+
55
58
artifacts : lib
56
59
./scripts/makeArtifactList.js
57
60
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