Rework gulpfile log command

This commit is contained in:
Gautier Pelloux-Prayer 2019-08-06 15:42:01 +02:00
parent 6a68482c0b
commit afbd93c61d

View file

@ -179,18 +179,16 @@ gulp.task('watch', function() {
// Print paths to console, for manually debugging the gulp build // Print paths to console, for manually debugging the gulp build
// (comment out corresponding line of paths to print) // (comment out corresponding line of paths to print)
gulp.task('log', function() { gulp.task('log', function() {
//return gulp.src(paths.scripts) // var src = paths.scripts
//return gulp.src(paths.styles) // var src = paths.styles
//return gulp.src(paths.images) // var src = paths.images
// return gulp.src(paths.locales) // var src = paths.locales
return gulp var src = paths.scripts
.src( .concat(paths.styles)
paths.scripts .concat(paths.images)
.concat(paths.styles) .concat(paths.locales);
.concat(paths.images)
.concat(paths.locales) return gulp.src(src).pipe(gulpDebug());
)
.pipe(gulpDebug());
}); });
gulp.task('inject', function() { gulp.task('inject', function() {