[Pkg-javascript-commits] [pdf.js] 274/414: Gulp: allow passing parameters and revert one `node make` renaming

David Prévot taffit at moszumanska.debian.org
Tue Jun 28 17:12:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 2b6d7ba3ec4a2b06b3885f0efb92ad79af766888
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Sun Mar 13 15:23:41 2016 +0100

    Gulp: allow passing parameters and revert one `node make` renaming
---
 gulpfile.js | 4 ++--
 make.js     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js
index 87afc01..bf77da2 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 561cf9c..c70b1a0 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list