[Pkg-javascript-commits] [node-grunt-contrib-coffee] 03/05: use global tasks, disable jshint

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Nov 19 12:18:30 UTC 2016


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

praveen pushed a commit to branch master
in repository node-grunt-contrib-coffee.

commit 3b0b769114462690743d115156c37812fada3e63
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Nov 19 17:30:36 2016 +0530

    use global tasks, disable jshint
---
 debian/patches/disable-jshint.patch   | 21 +++++++++++++++++++++
 debian/patches/series                 |  2 ++
 debian/patches/use-global-tasks.patch | 17 +++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/debian/patches/disable-jshint.patch b/debian/patches/disable-jshint.patch
new file mode 100644
index 0000000..c8cbb99
--- /dev/null
+++ b/debian/patches/disable-jshint.patch
@@ -0,0 +1,21 @@
+Index: node-grunt-contrib-coffee/Gruntfile.js
+===================================================================
+--- node-grunt-contrib-coffee.orig/Gruntfile.js
++++ node-grunt-contrib-coffee/Gruntfile.js
+@@ -158,14 +158,14 @@ module.exports = function(grunt) {
+   grunt.loadTasks('tasks');
+ 
+   // These plugins provide necessary tasks.
+-  grunt.loadNpmTasks('grunt-contrib-jshint');
++  //grunt.loadNpmTasks('grunt-contrib-jshint');
+   grunt.loadNpmTasks('grunt-contrib-clean','/usr/lib/nodejs');
+   grunt.loadNpmTasks('grunt-contrib-nodeunit','/usr/lib/nodejs');
+   grunt.loadNpmTasks('grunt-contrib-internal','/usr/lib/nodejs');
+ 
+   // Whenever the "test" task is run, first clean the "tmp" dir, then run this
+   // plugin's task(s), then test the result.
+-  grunt.registerTask('test', ['jshint', 'clean', 'coffee', 'nodeunit']);
++  grunt.registerTask('test', ['clean', 'coffee', 'nodeunit']);
+ 
+   // By default, lint and run all tests.
+   grunt.registerTask('default', ['test', 'build-contrib']);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9c77957
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+use-global-tasks.patch
+disable-jshint.patch
diff --git a/debian/patches/use-global-tasks.patch b/debian/patches/use-global-tasks.patch
new file mode 100644
index 0000000..3a95a09
--- /dev/null
+++ b/debian/patches/use-global-tasks.patch
@@ -0,0 +1,17 @@
+Index: node-grunt-contrib-coffee/Gruntfile.js
+===================================================================
+--- node-grunt-contrib-coffee.orig/Gruntfile.js
++++ node-grunt-contrib-coffee/Gruntfile.js
+@@ -159,9 +159,9 @@ module.exports = function(grunt) {
+ 
+   // These plugins provide necessary tasks.
+   grunt.loadNpmTasks('grunt-contrib-jshint');
+-  grunt.loadNpmTasks('grunt-contrib-clean');
+-  grunt.loadNpmTasks('grunt-contrib-nodeunit');
+-  grunt.loadNpmTasks('grunt-contrib-internal');
++  grunt.loadNpmTasks('grunt-contrib-clean','/usr/lib/nodejs');
++  grunt.loadNpmTasks('grunt-contrib-nodeunit','/usr/lib/nodejs');
++  grunt.loadNpmTasks('grunt-contrib-internal','/usr/lib/nodejs');
+ 
+   // Whenever the "test" task is run, first clean the "tmp" dir, then run this
+   // plugin's task(s), then test the result.

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



More information about the Pkg-javascript-commits mailing list