[Pkg-javascript-commits] [node-rx] 03/04: avoid the dependency on load-grunt-tasks by manually load all required grunt tasks

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 19 18:06:20 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-rx.

commit a29ab00e0196b2c1671e28ec259dd9d4f6731846
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 19 17:57:30 2016 +0000

    avoid the dependency on load-grunt-tasks by manually load all required grunt tasks
---
 debian/patches/00-load-grunt-tasks.diff | 26 ++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/00-load-grunt-tasks.diff b/debian/patches/00-load-grunt-tasks.diff
new file mode 100644
index 0000000..dc5d887
--- /dev/null
+++ b/debian/patches/00-load-grunt-tasks.diff
@@ -0,0 +1,26 @@
+Description: Avoid the dependency on load-grunt-tasks by manually load
+ all required grunt tasks.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-rx/Gruntfile.js
+===================================================================
+--- node-rx.orig/Gruntfile.js
++++ node-rx/Gruntfile.js
+@@ -2469,7 +2469,15 @@ module.exports = function (grunt) {
+   });
+ 
+   // Load all "grunt-*" tasks
+-  require('load-grunt-tasks')(grunt);
++  grunt.loadNpmTasks('grunt-contrib-copy');
++  grunt.loadNpmTasks('grunt-contrib-jshint');
++  grunt.loadNpmTasks('grunt-contrib-connect');
++  grunt.loadNpmTasks('grunt-contrib-uglify');
++  grunt.loadNpmTasks('grunt-contrib-concat');
++  grunt.loadNpmTasks('grunt-contrib-qunit');
++  grunt.loadNpmTasks('grunt-contrib-watch');
++  grunt.loadNpmTasks('grunt-saucelabs');
++  grunt.loadNpmTasks('grunt-jscs');
+ 
+   function createNuGetPackage(nuspec) {
+     var done = this.async();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..61833c9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-load-grunt-tasks.diff

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



More information about the Pkg-javascript-commits mailing list