Skip to content

Commit 7d5e097

Browse files
committed
tweak scripts
1 parent 7f71c53 commit 7d5e097

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/prebuilt.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ if (!is_windows) {
5252
function createOCamlTar() {
5353
if (process.platform === hostPlatform) {
5454
require("./installUtils.js").install();
55-
console.log(`status in ocaml submodule:`)
55+
console.log(`status in ocaml submodule:`);
5656
cp.execSync(`git -C ocaml status -uno`, { cwd: root, stdio: [0, 1, 2] });
5757
cp.execSync(
5858
`git -C ocaml archive --format=tar.gz HEAD -o ../vendor/ocaml.tar.gz`,
5959
{ cwd: root, stdio: [0, 1, 2] }
6060
);
61+
console.log(`status in ninja submodule:`);
62+
cp.execSync(`git -C ninja status -uno`, { cwd: root, stdio: [0, 1, 2] });
63+
cp.execSync(
64+
`git -C ninja archive --format=tar.gz HEAD -o ../vendor/ninja.tar.gz`,
65+
{ cwd: root, stdio: [0, 1, 2] }
66+
);
6167
}
62-
console.log(`status in ninja submodule:`)
63-
cp.execSync(`git -C ninja status -uno`, { cwd: root, stdio: [0, 1, 2] });
64-
cp.execSync(
65-
`git -C ninja archive --format=tar.gz HEAD -o ../vendor/ninja.tar.gz`,
66-
{ cwd: root, stdio: [0, 1, 2] }
67-
);
6868
}
6969

7070
createOCamlTar();

0 commit comments

Comments
 (0)