Merge pull request #550 from jesperronn/gulp-noglobs
Speedup gulp build by 30%
This commit is contained in:
commit
c84e3d3c58
13
Gulpfile.js
13
Gulpfile.js
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user