Merge pull request #550 from jesperronn/gulp-noglobs

Speedup gulp build by 30%
This commit is contained in:
Benoit Schweblin 2014-10-12 12:15:13 +01:00
commit c84e3d3c58

View File

@ -37,12 +37,13 @@ gulp.task('constants', function() {
gulp.task('jshint', function() { gulp.task('jshint', function() {
return gulp.src([ return gulp.src([
'./**/*.js', './*.js',
'!./node_modules/**/*.js', './app/**/*.js',
'!./public/libs/**/*.js', './public/res/classes/**/*.js',
'!./public/res/libs/**/*.js', './public/res/extensions/**/*.js',
'!./public/res/bower-libs/**/*.js', './public/res/helpers/**/*.js',
'!./public/res-min/**/*.js' './public/res/providers/**/*.js',
'./public/res/*.js'
]) ])
.pipe(jshint()) .pipe(jshint())
.pipe(jshint.reporter('default')) .pipe(jshint.reporter('default'))