style: add combined task to format from git diff and status commands (#24969)

PR Close #24969
This commit is contained in:
Brandon Roberts
2018-09-07 11:54:47 -05:00
committed by Alex Rickabaugh
parent ac3252a73b
commit 4c819f79b2
2 changed files with 22 additions and 2 deletions

View File

@ -29,7 +29,9 @@ function loadTask(fileName, taskName) {
gulp.task('format:enforce', loadTask('format', 'enforce'));
gulp.task('format', loadTask('format', 'format'));
gulp.task('format:changed', loadTask('format', 'format-changed'));
gulp.task('format:changes', loadTask('format', 'format-changes'));
gulp.task('format:diff', loadTask('format', 'format-diff'));
gulp.task('format:changed', ['format:changes', 'format:diff']);
gulp.task('build.sh', loadTask('build', 'all'));
gulp.task('build.sh:no-bundle', loadTask('build', 'no-bundle'));
gulp.task('lint', ['format:enforce', 'validate-commit-messages', 'tslint']);