Skip to content

Commit

Permalink
gulp task splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed May 20, 2021
1 parent 2fb2319 commit 849b135
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ gulp.task(
);

gulp.task(
'build:deps:composer',
'build:deps:composer:scoper',
shell.task(
'vendor/bin/php-scoper add-prefix --force --output-dir=dist/bundled/vendor'
)
);

gulp.task(
'build:deps:composer:autoloader',
gulp.series(
shell.task(
'vendor/bin/php-scoper add-prefix --force --output-dir=dist/bundled/vendor'
),
shell.task( 'composer dump-autoload --no-dev' ),
function () {
return merge(
Expand Down Expand Up @@ -68,6 +72,14 @@ gulp.task(
)
);

gulp.task(
'build:deps:composer',
gulp.series(
'build:deps:composer:scoper',
'build:deps:composer:autoloader'
)
);

gulp.task( 'build:deps:npm:imagelightbox', function () {
return gulp
.src( 'node_modules/imagelightbox/dist/imagelightbox.min.*' )
Expand Down

0 comments on commit 849b135

Please sign in to comment.