[Build] Add fixstyle step

This commit is contained in:
Victor Woeltjen 2016-01-28 14:39:14 -08:00
parent fd2f4128a0
commit d67ffa8401

View File

@ -82,3 +82,9 @@ gulp.task('codestyle', function () {
.pipe(jscs.reporter())
.pipe(jscs.reporter('fail'));
});
gulp.task('fixstyle', function () {
return gulp.src(paths.scripts, { base: '.' })
.pipe(jscs({ fix: true }))
.pipe(gulp.dest('.'));
});