Skip to content

Commit

Permalink
fix gulpfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
=paolo.chiabrera committed Oct 30, 2016
1 parent 3d10577 commit 3f67460
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 @@ -16,7 +16,7 @@ var isparta = require('isparta');
require('babel-core/register');

gulp.task('static', function () {
return gulp.src('**/*.js')
return gulp.src(['lib/**/*.js', 'test/**/*.spec.js'])
.pipe(excludeGitignore())
.pipe(eslint())
.pipe(eslint.format())
Expand All @@ -28,7 +28,7 @@ gulp.task('nsp', function (cb) {
});

gulp.task('pre-test', function () {
return gulp.src('lib\**\*.js')
return gulp.src('lib/**/*.js')
.pipe(excludeGitignore())
.pipe(istanbul({
includeUntested: true,
Expand All @@ -53,7 +53,7 @@ gulp.task('test', ['pre-test'], function (cb) {
});

gulp.task('watch', function () {
gulp.watch(['lib\**\*.js', 'test/**'], ['test']);
gulp.watch(['lib/**/*.js', 'test/**'], ['test']);
});

gulp.task('coveralls', ['test'], function () {
Expand All @@ -66,7 +66,7 @@ gulp.task('coveralls', ['test'], function () {
});

gulp.task('babel', ['clean'], function () {
return gulp.src('lib\**\*.js')
return gulp.src('lib/**/*.js')
.pipe(babel())
.pipe(gulp.dest('dist'));
});
Expand Down

0 comments on commit 3f67460

Please sign in to comment.