mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added grunt-contrib-clean task to clear build folder
This commit is contained in:
parent
32d1076d35
commit
994263b033
@ -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"
|
||||
]);
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user