dont run full build + tests for package task #3156
This commit is contained in:
parent
d80a8d638c
commit
f4cadb9b0e
11
gulpfile.js
11
gulpfile.js
|
@ -269,9 +269,10 @@ 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',
|
'./index.html',
|
||||||
'./dist/**',
|
'./dist/**',
|
||||||
'./lib/**',
|
'./lib/**',
|
||||||
|
@ -279,9 +280,9 @@ gulp.task('package', gulp.series('default', () =>
|
||||||
'./plugin/**',
|
'./plugin/**',
|
||||||
'./**.md'
|
'./**.md'
|
||||||
],
|
],
|
||||||
{
|
{ base: './' }
|
||||||
base: './'
|
)
|
||||||
}).pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./'))
|
.pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./'))
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue