From f4cadb9b0e883c012ee0dbe812ceff40510b84ef Mon Sep 17 00:00:00 2001 From: hakimel Date: Mon, 21 Mar 2022 09:35:30 +0100 Subject: [PATCH] dont run full build + tests for package task #3156 --- gulpfile.js | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 2850663..cd75adf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -269,19 +269,20 @@ gulp.task('default', gulp.series(gulp.parallel('js', 'css', 'plugins'), 'test')) gulp.task('build', gulp.parallel('js', 'css', 'plugins')) -gulp.task('package', gulp.series('default', () => +gulp.task('package', gulp.series(() => - gulp.src([ - './index.html', - './dist/**', - './lib/**', - './images/**', - './plugin/**', - './**.md' - ], - { - base: './' - }).pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./')) + gulp.src( + [ + './index.html', + './dist/**', + './lib/**', + './images/**', + './plugin/**', + './**.md' + ], + { base: './' } + ) + .pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./')) ))