Don't loadNpmTasks grunt-cli (not needed)

This was causing a "grunt-cli not found" message even when you had the grunt-cli npm module installed.
This commit is contained in:
linagee 2015-08-26 08:22:32 -06:00
parent 14f98c0020
commit 63b9430ccc
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = (grunt) ->
src: ['test/**/*.js'] src: ['test/**/*.js']
grunt.loadTasks "tasks" grunt.loadTasks "tasks"
require('matchdep').filterAll('grunt-*').forEach(grunt.loadNpmTasks) require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)
grunt.registerTask 'default', ['clean'] grunt.registerTask 'default', ['clean']
grunt.registerTask 'build', ['clean', 'coffee'] grunt.registerTask 'build', ['clean', 'coffee']