Cleans the package folder after package generation - fix #41
This commit is contained in:
parent
b8a32cae65
commit
96525d4933
@ -51,8 +51,7 @@ gulp.task('compress-dist', ['add-csp'], function() {
|
||||
.pipe($.zip('webogram_v' + pj.version + '.zip'))
|
||||
.pipe(gulp.dest('package')),
|
||||
gulp.src('package/*.zip')
|
||||
.pipe(gulp.dest('.')),
|
||||
gulp.src('package/**/*').pipe($.clean())
|
||||
.pipe(gulp.dest('.'))
|
||||
);
|
||||
});
|
||||
|
||||
@ -88,7 +87,9 @@ gulp.task('clean', function() {
|
||||
|
||||
gulp.task('bump', ['update-version-manifests', 'update-version-settings', 'update-version-comments']);
|
||||
gulp.task('build', ['templates', 'usemin', 'copy']);
|
||||
gulp.task('package', ['compress-dist']);
|
||||
gulp.task('package', ['compress-dist'], function() {
|
||||
gulp.src('package').pipe($.clean());
|
||||
});
|
||||
|
||||
gulp.task('default', ['clean'], function() {
|
||||
gulp.start('build');
|
||||
|
Loading…
x
Reference in New Issue
Block a user