diff --git a/gulpfile.js b/gulpfile.js index 87afc0113..bf77da260 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -117,11 +117,11 @@ Object.keys(gulp.tasks).forEach(function (taskName) { gulp.run(taskName); }; - global.target[taskName] = function () { + global.target[taskName] = function (args) { // The require('shelljs/make') import in make.js will try to execute tasks // listed in arguments, guarding with gulpContext if (gulpContext) { - oldTask.call(global.target); + oldTask.call(global.target, args); } }; }); diff --git a/make.js b/make.js index 561cf9c62..c70b1a073 100644 --- a/make.js +++ b/make.js @@ -1357,7 +1357,7 @@ target.mozcentralbaseline = function() { if (test('-d', 'build')) { rm('-rf', 'build'); } - exec('gulp mozcentral'); + exec('node make mozcentral'); cd(ROOT_DIR); mkdir(MOZCENTRAL_BASELINE_DIR);