Use "node" as binary instead of "nodejs".

"nodejs" does not exist on Travis, it appears.
pull/1215/head
Josh Haberman 9 years ago
parent 35298f9779
commit 59ea5000bb
  1. 2
      js/gulpfile.js

@ -45,7 +45,7 @@ gulp.task('make_commonjs_out', ['dist', 'genproto_commonjs', 'commonjs_asserts']
// Will require proper externs/exports. // Will require proper externs/exports.
var cmd = "mkdir -p commonjs_out/binary && "; var cmd = "mkdir -p commonjs_out/binary && ";
function addTestFile(file) { function addTestFile(file) {
cmd += 'nodejs commonjs/rewrite_tests_for_commonjs.js < ' + file + cmd += 'node commonjs/rewrite_tests_for_commonjs.js < ' + file +
' > commonjs_out/' + file + '&& '; ' > commonjs_out/' + file + '&& ';
} }

Loading…
Cancel
Save