Skip to content

Commit 64bcd38

Browse files
committed
verbose mode in CI
1 parent 7a082cb commit 64bcd38

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: scripts/install.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,16 @@ build all: phony runtime others $stdlib
322322
`;
323323
var filePath = path.join(jscomp_dir, "release.ninja");
324324
fs.writeFileSync(filePath, releaseNinja, "ascii");
325-
let cleanArgs = ["-f", "release.ninja", "-t", "clean"];
325+
var cleanArgs = ["-f", "release.ninja", "-t", "clean"];
326326
cp.execFileSync(ninja_bin_output, cleanArgs, {
327327
cwd: jscomp_dir,
328328
stdio: [0, 1, 2],
329329
shell: false
330330
});
331-
let buildArgs = ["-f", "release.ninja"];
331+
var buildArgs = ["-f", "release.ninja"];
332+
if(process.env.BS_TRAVIS_CI){
333+
buildArgs.push('--verbose')
334+
}
332335
cp.execFileSync(ninja_bin_output, buildArgs, {
333336
cwd: jscomp_dir,
334337
stdio: [0, 1, 2],

0 commit comments

Comments
 (0)