Skip to content

Commit ecf4abb

Browse files
committed
Prepare a release
FIXME: avoid runtime bootstrapped dependency (introduced with cmi)
1 parent c543817 commit ecf4abb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/release.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ function run() {
1919
}
2020

2121

22-
cp.execSync(`make clean`,
22+
cp.execSync(`git clean -dfx stubs ext common syntax depends core bsb main .`,
2323
{ cwd: jscompDir, encoding: 'utf8', stdio: [0, 1, 2] })
24-
cp.execSync(`make themes`,
25-
{ cwd: jscompDir, encoding: 'utf8', stdio: [0, 1, 2] })
26-
cp.execSync(`ninja -t clean && ninja`,
24+
cp.execSync(`git clean -dfx templates && ocp-ocamlres templates -o bsb_templates.ml`,
25+
{ cwd: path.join(jscompDir,'bsb'), encoding: 'utf8', stdio: [0, 1, 2] })
26+
cp.execSync(`ninja -t clean -g && ninja`,
2727
{ cwd: jscompDir, encoding: 'utf8', stdio: [0, 1, 2] })
2828
cp.execSync('ninja', {cwd : path.join(rootDir,'lib'), stdio:[0,1,2]})
2929
cp.execSync('ninja -f release.ninja -t clean && ninja -f release.ninja', { cwd: path.join(rootDir, 'jscomp'), stdio: [0, 1, 2]})

0 commit comments

Comments
 (0)