mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(build): run a 'clean' before running 'validate'
run a 'clean' before running 'validate'
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import * as gulp from 'gulp';
|
||||
import * as runSequence from 'run-sequence';
|
||||
|
||||
gulp.task('default', help);
|
||||
|
||||
@ -13,4 +14,6 @@ function help() {
|
||||
console.log(taskList.join('\n'));
|
||||
}
|
||||
|
||||
gulp.task('validate', ['lint', 'test']);
|
||||
gulp.task('validate', (done: (err: any) => void) => {
|
||||
runSequence('clean', ['lint', 'test'], done);
|
||||
});
|
||||
|
Reference in New Issue
Block a user