Permalink
Browse files

chore: load tasks with a one-liner.

  • Loading branch information...
igorlima authored and vojtajina committed Dec 26, 2013
1 parent d57dd0d commit 094b3c64b8ff4307cb56e5beaccae1b20bfd743f
Showing with 3 additions and 9 deletions.
  1. +2 −9 Gruntfile.coffee
  2. +1 −0 package.json
View
@@ -122,15 +122,8 @@ module.exports = (grunt) ->
grunt.loadTasks 'tasks'
- grunt.loadNpmTasks 'grunt-simple-mocha'
- grunt.loadNpmTasks 'grunt-contrib-jshint'
- grunt.loadNpmTasks 'grunt-contrib-watch'
- grunt.loadNpmTasks 'grunt-coffeelint'
- grunt.loadNpmTasks 'grunt-bump'
- grunt.loadNpmTasks 'grunt-npm'
- grunt.loadNpmTasks 'grunt-auto-release'
- grunt.loadNpmTasks 'grunt-conventional-changelog'
- grunt.loadNpmTasks 'grunt-browserify'
+ # Load grunt tasks automatically
+ require('load-grunt-tasks') grunt
grunt.registerTask 'build', ['browserify:client']
grunt.registerTask 'default', ['build', 'test', 'lint']
View
@@ -134,6 +134,7 @@
"grunt-conventional-changelog": "~1.0.0",
"grunt-auto-release": "~0.0.3",
"grunt-browserify": "~1.3.0",
+ "load-grunt-tasks": "~0.2.1",
"mocks": "~0.0.10",
"which": "~1.0",
"mocha": "~1.16.2",

0 comments on commit 094b3c6

Please sign in to comment.