Skip to content

Commit 35e8a54

Browse files
committed
make gruntfile tasks more explicit
1 parent d1cd2f3 commit 35e8a54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gruntfile.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ module.exports = function (grunt) {
8484
grunt.loadNpmTasks('grunt-karma-coveralls')
8585

8686
// load custom tasks
87-
grunt.file.recurse('build/grunt-tasks', function (path) {
88-
require('./' + path)(grunt)
89-
})
87+
require('./build/grunt-tasks/build')(grunt)
88+
require('./build/grunt-tasks/casper')(grunt)
89+
require('./build/grunt-tasks/release')(grunt)
9090

91+
// register composite tasks
9192
grunt.registerTask('unit', ['karma:browsers'])
9293
grunt.registerTask('cover', ['karma:coverage'])
9394
grunt.registerTask('test', ['unit', 'cover', 'casper'])

0 commit comments

Comments
 (0)