chore(build): run a 'clean' before running 'validate'

run a 'clean' before running 'validate'
This commit is contained in:
Dan Bucholtz
2017-01-09 10:16:31 -06:00
parent 7000b1b173
commit 755524abc7

View File

@ -1,4 +1,5 @@
import * as gulp from 'gulp'; import * as gulp from 'gulp';
import * as runSequence from 'run-sequence';
gulp.task('default', help); gulp.task('default', help);
@ -13,4 +14,6 @@ function help() {
console.log(taskList.join('\n')); console.log(taskList.join('\n'));
} }
gulp.task('validate', ['lint', 'test']); gulp.task('validate', (done: (err: any) => void) => {
runSequence('clean', ['lint', 'test'], done);
});