Skip to content

Commit

Permalink
Fixes globs for new folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolundgren committed Jul 16, 2014
1 parent e91a24c commit 63d48e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ gulp.task('build-data', function() {
});

gulp.task('format', function() {
return gulp.src(['src/**/*.js', '!src/data/*.js'])
return gulp.src(['src/**/*.js', '!src/detection/training/**/*.js'])
.pipe(esformatter())
.pipe(gulp.dest('src'));
});

gulp.task('lint', function() {
return gulp.src('src/**.js')
return gulp.src('src/**/**.js')
.pipe(jshint())
.pipe(jshint.reporter(stylish));
});
Expand All @@ -78,11 +78,11 @@ gulp.task('test', function() {
});

gulp.task('test-watch', function() {
return gulp.watch(['src/*.js', 'test/**/*.js'], ['test']);
return gulp.watch(['src/**/*.js', 'test/**/*.js'], ['test']);
});

gulp.task('watch', function() {
gulp.watch('src/*.js', ['build']);
gulp.watch('src/**/*.js', ['build']);
gulp.watch('src/data/*.js', ['build-data']);
});

Expand Down

0 comments on commit 63d48e0

Please sign in to comment.