mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
chore(): begin adding ionic components to mono-repo.
This commit is contained in:
19
packages/ionic-angular/scripts/gulp/tasks/default.ts
Normal file
19
packages/ionic-angular/scripts/gulp/tasks/default.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import * as gulp from 'gulp';
|
||||
import * as runSequence from 'run-sequence';
|
||||
|
||||
gulp.task('default', help);
|
||||
|
||||
gulp.task('help', help);
|
||||
|
||||
function help() {
|
||||
const taskList = Object.keys((gulp as any).tasks)
|
||||
.filter(taskName => taskName !== 'default' && taskName !== 'help')
|
||||
.sort()
|
||||
.map(taskName => taskName = ' ' + taskName);
|
||||
|
||||
console.log(taskList.join('\n'));
|
||||
}
|
||||
|
||||
gulp.task('validate', (done: (err: any) => void) => {
|
||||
runSequence('clean', ['lint', 'test'], done);
|
||||
});
|
Reference in New Issue
Block a user