Skip to content

Commit

Permalink
Update gulpfile to use del instead of gulp-rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
Will authored and alrra committed Aug 5, 2014
1 parent dd0d0bf commit d7e65bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions gulpfile.js
Expand Up @@ -49,21 +49,18 @@ gulp.task('archive:zip', function (done) {
'mode': fs.statSync(filePath)
});

})
});

archiver.pipe(output);
archiver.finalize();

});

gulp.task('clean', function () {
return gulp.src([
gulp.task('clean', function (done) {
require('del')([
template('<%= archive %>', dirs),
template('<%= dist %>', dirs)
], {
read: false // Prevent gulp from reading the content of
// the files in order to make this task faster
}).pipe(plugins.rimraf());
], done);
});

gulp.task('copy', [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,14 +2,14 @@
"devDependencies": {
"apache-server-configs": "2.7.1",
"archiver": "^0.10.1",
"del": "^0.1.1",
"glob": "^4.0.5",
"gulp": "^3.8.6",
"gulp-header": "^1.0.5",
"gulp-jshint": "^1.7.1",
"gulp-load-plugins": "^0.5.3",
"gulp-rename": "^1.2.0",
"gulp-replace": "^0.4.0",
"gulp-rimraf": "^0.1.0",
"jquery": "1.11.1",
"jshint-stylish": "^0.4.0",
"lodash": "^2.4.1",
Expand Down

0 comments on commit d7e65bb

Please sign in to comment.