From f3dd9b5b317dde010de1a853bc83feb96c5e2d75 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sat, 6 Jun 2015 15:06:42 -0700 Subject: [PATCH] build(clang-format): skip formatting of spec files until angular/clang-format#11 is fixed otherwise checking format and reformatting takes 50seconds or more :-( --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 95f9eb340f..08461bb365 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -223,7 +223,8 @@ gulp.task('build/pubbuild.dart', pubbuild(gulp, gulpPlugins, { // formatting function doCheckFormat() { - return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts']) + return gulp.src(['modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts', + '!**/*.spec.ts', '!**/*_spec.ts' /* angular/clang-format#/11 */]) .pipe(format.checkFormat('file')); }