parent
9905ce88e3
commit
2ebc29cd92
@ -1,9 +1,8 @@
|
|||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var rimraf = require('gulp-rimraf');
|
var del = require('del');
|
||||||
|
|
||||||
var paths = require('./paths');
|
var paths = require('./paths');
|
||||||
|
|
||||||
gulp.task('clean', function () {
|
gulp.task('clean', function (cb) {
|
||||||
return gulp.src(paths.dest.root, {read: false})
|
del([paths.dest.root], cb);
|
||||||
.pipe(rimraf());
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in new issue