Add grunt-contrib-clean.

This commit is contained in:
Nicolas Stepien 2012-09-26 03:58:46 +02:00
parent 4a34cd7021
commit d8ff9c4743
2 changed files with 6 additions and 4 deletions

View File

@ -108,22 +108,23 @@ module.exports = function(grunt) {
push: {
command: 'git push && git push --tags',
stdout: true
},
clean: {
command: 'rm -r tmp'
}
},
watch: {
files: ['grunt.js', 'lib/**/*.coffee', 'src/**/*.coffee', 'css/**/*.css', 'img/*'],
tasks: 'default'
},
clean: {
tmp:['tmp']
}
});
grunt.loadNpmTasks('grunt-bump');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-exec');
grunt.registerTask('default', 'concat:coffee coffee concat:js exec:clean');
grunt.registerTask('default', 'concat:coffee coffee concat:js clean');
grunt.registerTask('release', 'concat:meta concat:latest default exec:commit exec:push');
grunt.registerTask('patch', 'bump');
grunt.registerTask('upgrade', 'bump:minor');

View File

@ -9,6 +9,7 @@
},
"dependencies": {
"grunt-bump": "0.0.x",
"grunt-contrib-clean": "0.3.x",
"grunt-contrib-coffee": "0.3.x",
"grunt-exec": "0.3.x",
"grunt-image-embed": "0.0.x"