mirror of
https://github.com/knex/knex.git
synced 2025-08-11 10:10:56 +00:00
15 lines
422 B
JavaScript
15 lines
422 B
JavaScript
'use strict';
|
|
|
|
var gulp = require('gulp');
|
|
var jshint = require('gulp-jshint');
|
|
|
|
// Run the test... TODO: split these out to individual components.
|
|
gulp.task('jshint', function () {
|
|
gulp.src([
|
|
'*.js', 'lib/**/*.js', 'test/**/*.js',
|
|
'!test/coverage/**/*.js', '!test/integration/migrate/**/*.js'
|
|
])
|
|
.pipe(jshint())
|
|
.pipe(jshint.reporter('default'))
|
|
.pipe(jshint.reporter('fail'));
|
|
}); |