mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
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']);
|