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']);
|