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() {
return gulp.src([
'./**/*.js',
'!./node_modules/**/*.js',
'!./public/libs/**/*.js',
'!./public/res/libs/**/*.js',
'!./public/res/bower-libs/**/*.js',
'!./public/res-min/**/*.js'
'./*.js',
'./app/**/*.js',
'./public/res/classes/**/*.js',
'./public/res/extensions/**/*.js',
'./public/res/helpers/**/*.js',
'./public/res/providers/**/*.js',
'./public/res/*.js'
])
.pipe(jshint())
.pipe(jshint.reporter('default'))