mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(gulp): update gulp scripts
This commit is contained in:

committed by
Adam Bradley

parent
17fe72e4bc
commit
12c9fd12bd
17
scripts/gulp/tasks/default.ts
Normal file
17
scripts/gulp/tasks/default.ts
Normal file
@ -0,0 +1,17 @@
|
||||
const gulp = require('gulp');
|
||||
|
||||
|
||||
gulp.task('default', help);
|
||||
|
||||
gulp.task('help', help);
|
||||
|
||||
function help() {
|
||||
const taskList = Object.keys(gulp.tasks)
|
||||
.filter(taskName => taskName !== 'default' && taskName !== 'help')
|
||||
.sort()
|
||||
.map(taskName => taskName = ' ' + taskName);
|
||||
|
||||
console.log(taskList.join('\n'));
|
||||
}
|
||||
|
||||
gulp.task('validate', ['lint', 'test']);
|
Reference in New Issue
Block a user