chore(build): improve messaging when using clang-format

This commit is contained in:
Alex Eagle
2015-05-22 09:56:31 -07:00
parent 15f1eb28a2
commit 16447ce75c
5 changed files with 24 additions and 10 deletions

View File

@ -227,7 +227,8 @@ gulp.task('check-format', function() {
gulp.task('enforce-format', function() {
return doCheckFormat().on('warning', function(e) {
console.log("ERROR: Some files need formatting");
console.log("ERROR: You forgot to run clang-format on your change.");
console.log("See https://github.com/angular/angular/blob/master/DEVELOPER.md#formatting");
process.exit(1);
});
});