chore(build): exclude tree-differ.ts from format-checking due to a bug in clang-format

see https://github.com/angular/clang-format/issues/4
This commit is contained in:
Igor Minar 2015-04-24 23:30:30 -07:00
parent 40c4eb7240
commit 649fd5a7a9
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ gulp.task('build/format.dart', rundartpackage(gulp, gulpPlugins, {
})); }));
function doCheckFormat() { function doCheckFormat() {
return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts']) return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts',
'!tools/broccoli/tree-differ.ts']) // See https://github.com/angular/clang-format/issues/4
.pipe(format.checkFormat('file')); .pipe(format.checkFormat('file'));
} }