mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
The build command will also run the clean, styles, scripts commands
This commit is contained in:
parent
bff87eb4aa
commit
9e116623dc
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,7 @@ gulp.src = function () {
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
gulp.task('build', (done) => {
|
gulp.task('package', (done) => {
|
||||||
const archive = 'easyappointments-0.0.0.zip';
|
const archive = 'easyappointments-0.0.0.zip';
|
||||||
|
|
||||||
fs.removeSync('build');
|
fs.removeSync('build');
|
||||||
|
@ -154,4 +154,6 @@ gulp.task('watch', (done) => {
|
||||||
|
|
||||||
gulp.task('dev', gulp.series('clean', 'scripts', 'styles', 'watch'));
|
gulp.task('dev', gulp.series('clean', 'scripts', 'styles', 'watch'));
|
||||||
|
|
||||||
|
gulp.task('build', gulp.series('clean', 'scripts', 'styles', 'package'));
|
||||||
|
|
||||||
gulp.task('default', gulp.parallel('dev'));
|
gulp.task('default', gulp.parallel('dev'));
|
||||||
|
|
Loading…
Reference in a new issue