Added grunt-contrib-clean task to clear build folder

This commit is contained in:
nicoburns 2013-09-18 19:56:39 +01:00 committed by Hannah Wolfe
parent 32d1076d35
commit 994263b033
2 changed files with 8 additions and 0 deletions

View File

@ -278,6 +278,12 @@ var path = require('path'),
}
},
clean: {
build: {
src: ["<%= paths.buildBuild %>/**"]
}
},
copy: {
nightly: {
files: [{
@ -793,6 +799,7 @@ var path = require('path'),
"concat",
"uglify",
"changelog",
"clean:build",
"copy:build",
"compress:build"
]);

View File

@ -40,6 +40,7 @@
"grunt-contrib-handlebars": "~0.5.10",
"grunt-contrib-watch": "~0.5.1",
"grunt-bump": "~0.0.11",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-compress": "~0.5.2",
"grunt-contrib-concat": "~0.3.0",