Split some main gulpfile calls for better readability
This commit is contained in:
parent
9f22e6d4f4
commit
a6c2561d1e
17
gulpfile.js
17
gulpfile.js
|
|
@ -9,7 +9,10 @@ var options = {
|
||||||
dist: 'dist',
|
dist: 'dist',
|
||||||
workingDir: 'tmp',
|
workingDir: 'tmp',
|
||||||
src: function plumbedSrc(){
|
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'. */
|
/** 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'
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue