Skip to content

Commit f3dd9b5

Browse files
committed
build(clang-format): skip formatting of spec files until angular/clang-format#11 is fixed
otherwise checking format and reformatting takes 50seconds or more :-(
1 parent 72736a1 commit f3dd9b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ gulp.task('build/pubbuild.dart', pubbuild(gulp, gulpPlugins, {
223223
// formatting
224224

225225
function doCheckFormat() {
226-
return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts'])
226+
return gulp.src(['modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts',
227+
'!**/*.spec.ts', '!**/*_spec.ts' /* angular/clang-format#/11 */])
227228
.pipe(format.checkFormat('file'));
228229
}
229230

0 commit comments

Comments
 (0)