mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
|
|
import {task} from 'gulp';
|
||
|
|
const gulp = require('gulp');
|
||
|
|
|
||
|
|
task('default', ['help']);
|
||
|
|
|
||
|
|
task('help', function() {
|
||
|
|
const taskList = Object.keys(gulp.tasks)
|
||
|
|
.filter(taskName => !taskName.startsWith(':'))
|
||
|
|
.filter(taskName => !taskName.startsWith('ci:'))
|
||
|
|
.filter(taskName => taskName != 'default')
|
||
|
|
.sort();
|
||
|
|
|
||
|
|
console.log(`\nHere's a list of supported tasks:\n `, taskList.join('\n '));
|
||
|
|
console.log(`\nYou're probably looking for "test" or "serve:devapp".\n\n`);
|
||
|
|
});
|
||
|
|
|