dont run full build + tests for package task #3156

edit
hakimel 2022-03-21 09:35:30 +01:00
parent d80a8d638c
commit f4cadb9b0e
1 changed files with 13 additions and 12 deletions

View File

@ -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('build', gulp.parallel('js', 'css', 'plugins'))
gulp.task('package', gulp.series('default', () => gulp.task('package', gulp.series(() =>
gulp.src([ gulp.src(
'./index.html', [
'./dist/**', './index.html',
'./lib/**', './dist/**',
'./images/**', './lib/**',
'./plugin/**', './images/**',
'./**.md' './plugin/**',
], './**.md'
{ ],
base: './' { base: './' }
}).pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./')) )
.pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./'))
)) ))