mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #7084 from timvandermeij/gulp-fix
Revert renaming `node make` to `gulp` for `mozcentral`
This commit is contained in:
commit
122d473239
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
2
make.js
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue