File: adapt-tasks.patch

package info (click to toggle)
node-grunt-contrib-concat 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 480 kB
  • sloc: javascript: 536; makefile: 7
file content (24 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Adapt tasks
 Use globally installed tasks, skip jshint
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -164,14 +164,14 @@
   grunt.loadTasks('tasks');
 
   // 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-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', 'concat', 'nodeunit']);
+  grunt.registerTask('test', ['clean', 'concat', 'nodeunit']);
 
   // By default, lint and run all tests.
   grunt.registerTask('default', ['test', 'build-contrib']);