From a6c2561d1edca601fc19285b38571449891f39aa Mon Sep 17 00:00:00 2001 From: Dan Mindru Date: Fri, 14 Jul 2017 14:11:31 +0200 Subject: [PATCH] Split some main gulpfile calls for better readability --- gulpfile.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index fb4dd9a..867239f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -9,7 +9,10 @@ var options = { dist: 'dist', workingDir: 'tmp', src: function plumbedSrc(){ - return gulp.src.apply(gulp, arguments).pipe(plumber()); + return gulp + .src + .apply(gulp, arguments) + .pipe(plumber()); } }; @@ -27,4 +30,14 @@ fs }); /** By default templates will be built into '/dist', then gulp will watch for changes in '/src'. */ -gulp.task('default', ['dupe', 'less', 'sass', 'postcss', 'lint', 'build']); +gulp.task( + 'default', + [ + 'dupe', + 'less', + 'sass', + 'postcss', + 'lint', + 'build' + ] +);