[Pkg-javascript-commits] [node-yarnpkg] 02/05: patch gulp-if 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 f14b7a2e206c94ea50e401fe34f4d14d95f548ac
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Sun Dec 25 14:10:17 2016 +0000
patch gulp-if away
---
debian/patches/06-gulp-if.diff | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/06-gulp-if.diff b/debian/patches/06-gulp-if.diff
new file mode 100644
index 0000000..4961dcc
--- /dev/null
+++ b/debian/patches/06-gulp-if.diff
@@ -0,0 +1,28 @@
+Description: Patch gulp-if 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
+@@ -6,7 +6,6 @@ const newer = require('gulp-newer');
+ const babel = require('gulp-babel');
+ const sourcemaps = require('gulp-sourcemaps');
+ const gutil = require('gulp-util');
+-const gulpif = require('gulp-if');
+ const gulp = require('gulp');
+ const path = require('path');
+ const fs = require('fs');
+@@ -21,9 +20,9 @@ function build(lib, opts) {
+ },
+ }))
+ .pipe(newer(lib))
+- .pipe(gulpif(argv.sourcemaps, sourcemaps.init()))
++ .pipe(sourcemaps.init())
+ .pipe(babel(opts))
+- .pipe(gulpif(argv.sourcemaps, sourcemaps.write('.')))
++ .pipe(sourcemaps.write('.'))
+ .pipe(gulp.dest(lib));
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index 1f8d107..6b6c4da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
03-leven.diff
04-user-home.diff
05-gulp-watch.diff
+06-gulp-if.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