Add verbose mode to boilerplate

hack/verify-boilerplate.sh -v will now print out why the file does
not match along with a diff if possible.

Note: boilerplate.py now has a unit test that is run along with
hack/verify-boilerplate.sh.
This commit is contained in:
Bowei Du
2016-10-13 13:49:13 -07:00
parent 373be74d75
commit a6550b332e
8 changed files with 175 additions and 6 deletions

1
.gitignore vendored
View File

@@ -117,3 +117,4 @@ kubernetes.tar.gz
!\.drone\.sec
/bazel-*
*.pyc