2014-09-01 17:16:39 +02:00
|
|
|
'use strict';
|
|
|
|
|
2014-05-28 22:29:34 -04:00
|
|
|
var gulp = require('gulp');
|
2014-09-01 17:16:39 +02:00
|
|
|
var jshint = require('gulp-jshint');
|
2014-05-05 21:53:09 -04:00
|
|
|
|
2014-05-29 01:57:59 -04:00
|
|
|
// Run the test... TODO: split these out to individual components.
|
2014-09-01 17:16:39 +02:00
|
|
|
gulp.task('jshint', function () {
|
2014-09-10 12:15:58 -04:00
|
|
|
gulp.src([
|
|
|
|
'*.js', 'lib/**/*.js', 'test/**/*.js',
|
2015-04-27 15:58:48 -04:00
|
|
|
'!test/coverage/**/*.js', '!test/integration/migrate/**/*.js'
|
2014-09-10 12:15:58 -04:00
|
|
|
])
|
2014-09-01 17:16:39 +02:00
|
|
|
.pipe(jshint())
|
|
|
|
.pipe(jshint.reporter('default'))
|
|
|
|
.pipe(jshint.reporter('fail'));
|
2015-04-29 19:13:50 -04:00
|
|
|
});
|