[Pkg-javascript-commits] [node-yarnpkg] 01/05: patch gulp-watch away

Paolo Greppi paolog-guest at moszumanska.debian.org
Sun Dec 25 14:41:53 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-yarnpkg.

commit 415b120c45b1cb1f97e6a1765d5a05f87cc731a2
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sun Dec 25 14:07:36 2016 +0000

    patch gulp-watch away
---
 debian/patches/05-gulp-watch.diff | 26 ++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/05-gulp-watch.diff b/debian/patches/05-gulp-watch.diff
new file mode 100644
index 0000000..4eaa95b
--- /dev/null
+++ b/debian/patches/05-gulp-watch.diff
@@ -0,0 +1,26 @@
+Description: Patch gulp-watch away.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-yarnpkg/gulpfile.js
+===================================================================
+--- node-yarnpkg.orig/gulpfile.js
++++ node-yarnpkg/gulpfile.js
+@@ -5,7 +5,6 @@ const plumber = require('gulp-plumber');
+ const newer = require('gulp-newer');
+ const babel = require('gulp-babel');
+ const sourcemaps = require('gulp-sourcemaps');
+-const watch = require('gulp-watch');
+ const gutil = require('gulp-util');
+ const gulpif = require('gulp-if');
+ const gulp = require('gulp');
+@@ -39,9 +38,3 @@ gulp.task('build-modern', () => {
+ gulp.task('build-legacy', () => {
+   return build('lib-legacy', babelRc.env['pre-node5']);
+ });
+-
+-gulp.task('watch', ['build'], () => {
+-  watch('src/**/*', () => {
+-    gulp.start('build');
+-  });
+-});
diff --git a/debian/patches/series b/debian/patches/series
index eb6cb3c..1f8d107 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 02-is-ci.diff
 03-leven.diff
 04-user-home.diff
+05-gulp-watch.diff

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



More information about the Pkg-javascript-commits mailing list