mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added grunt-contrib-clean task to clear build folder
This commit is contained in:
parent
32d1076d35
commit
994263b033
2 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue