From 2ca2c8fe0fab211a8effcc0922be9ee1b1e337a2 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Fri, 15 May 2020 15:58:57 -0700 Subject: [PATCH] build: complete removal of gulp format (#37147) Remove gulp format deprecation message to complete the removal of formatting Typescript and Javascript files via gulp command. PR Close #37147 --- gulpfile.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d83869224c..37c8e59efd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -33,29 +33,3 @@ gulp.task('changelog:zonejs', loadTask('changelog-zonejs')); gulp.task('check-env', () => {/* this is a noop because the env test ran already above */}); gulp.task('cldr:extract', loadTask('cldr', 'extract')); gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure')); - - -// TODO(josephperrott): Remove old task entries and deprecation notice after deprecation period. -/** Notify regarding `gulp format:*` deprecation. */ -function gulpFormatDeprecationNotice() { - console.info(`######################################################################`) - console.info(`gulp format is deprecated in favor of running the formatter via ng-dev`); - console.info(); - console.info(`You can find more usage information by running:`); - console.info(` yarn ng-dev format --help`); - console.info(); - console.info(`For more on the rationale and effects of this deprecation visit:`); - console.info(` https://github.com/angular/angular/pull/36726#issue-406278018`); - console.info(`######################################################################`) - process.exit(1); -} -gulp.task('format:all', gulpFormatDeprecationNotice); -gulp.task('format:all:enforce', gulpFormatDeprecationNotice); -gulp.task('format:untracked', gulpFormatDeprecationNotice); -gulp.task('format:untracked:enforce', gulpFormatDeprecationNotice); -gulp.task('format:diff', gulpFormatDeprecationNotice); -gulp.task('format:diff:enforce', gulpFormatDeprecationNotice); -gulp.task('format:changed', gulpFormatDeprecationNotice); -gulp.task('format:changed:enforce', gulpFormatDeprecationNotice); -gulp.task('format', gulpFormatDeprecationNotice); -gulp.task('lint', gulpFormatDeprecationNotice);