build(clang-format): skip formatting of spec files until angular/clang-format#11 is fixed
otherwise checking format and reformatting takes 50seconds or more :-(
This commit is contained in:
parent
72736a1b09
commit
f3dd9b5b31
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue