Merge pull request #829 from nicoburns/grunt-build-clean

This commit is contained in:
Hannah Wolfe 2013-09-19 08:46:54 +01:00
commit 960a11150f
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: { copy: {
nightly: { nightly: {
files: [{ files: [{
@ -793,6 +799,7 @@ var path = require('path'),
"concat", "concat",
"uglify", "uglify",
"changelog", "changelog",
"clean:build",
"copy:build", "copy:build",
"compress:build" "compress:build"
]); ]);

View File

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