Add grunt-contrib-clean.
This commit is contained in:
parent
4a34cd7021
commit
d8ff9c4743
9
grunt.js
9
grunt.js
@ -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');
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user