Package: grunt / 1.0.1-8+deb10u1

adapt-gruntfile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load global tasks and disable unneeded tasks

--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -50,17 +50,17 @@
   });
 
   // These plugins provide necessary tasks.
-  grunt.loadNpmTasks('grunt-contrib-jshint');
-  grunt.loadNpmTasks('grunt-jscs');
+  //grunt.loadNpmTasks('grunt-contrib-jshint');
+  //grunt.loadNpmTasks('grunt-jscs');
   grunt.loadNpmTasks('grunt-contrib-nodeunit');
-  grunt.loadNpmTasks('grunt-contrib-watch');
+  //grunt.loadNpmTasks('grunt-contrib-watch');
 
   // Some internal tasks. Maybe someday these will be released.
   grunt.loadTasks('internal-tasks');
 
   // "npm test" runs these tasks
   grunt.registerTask('test', '', function(reporter) {
-    grunt.task.run(['jshint', 'jscs', 'nodeunit:' + (reporter || 'all'), 'subgrunt']);
+    grunt.task.run(['nodeunit:' + (reporter || 'all'), 'subgrunt']);
   });
 
   // Default task.