style: update gulp task to format untracked and diff files separately (#24969)

PR Close #24969
This commit is contained in:
Brandon Roberts
2018-09-10 20:19:14 -05:00
committed by Alex Rickabaugh
parent 4c819f79b2
commit 4d544bcb46
4 changed files with 37 additions and 149 deletions

View File

@ -29,9 +29,9 @@ function loadTask(fileName, taskName) {
gulp.task('format:enforce', loadTask('format', 'enforce'));
gulp.task('format', loadTask('format', 'format'));
gulp.task('format:changes', loadTask('format', 'format-changes'));
gulp.task('format:untracked', loadTask('format', 'format-untracked'));
gulp.task('format:diff', loadTask('format', 'format-diff'));
gulp.task('format:changed', ['format:changes', 'format:diff']);
gulp.task('format:changed', ['format:untracked', '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']);