From 9e116623dc311b0b898b0780ad77cf8f9fdbcfb3 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 8 Dec 2020 00:20:29 +0200 Subject: [PATCH] The build command will also run the clean, styles, scripts commands --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index ad8ea239..909f17a7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -25,7 +25,7 @@ gulp.src = function () { })); }; -gulp.task('build', (done) => { +gulp.task('package', (done) => { const archive = 'easyappointments-0.0.0.zip'; fs.removeSync('build'); @@ -154,4 +154,6 @@ gulp.task('watch', (done) => { gulp.task('dev', gulp.series('clean', 'scripts', 'styles', 'watch')); +gulp.task('build', gulp.series('clean', 'scripts', 'styles', 'package')); + gulp.task('default', gulp.parallel('dev'));