Merge pull request #7084 from timvandermeij/gulp-fix

Revert renaming `node make` to `gulp` for `mozcentral`
This commit is contained in:
Jonas Jenwald 2016-03-14 10:25:11 +01:00
commit 122d473239
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
};
});

View File

@ -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);