Add script to verify all boilerplate; add line to make travis run it.

This commit is contained in:
Daniel Smith
2014-06-23 13:50:14 -07:00
parent 49c25a4e28
commit 06410321e3
2 changed files with 19 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ install:
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/coreos/etcd
- bad=$(gofmt -s -l pkg/ cmd/) bash -x -c '[[ -z "$bad" ]]'
- ./hack/verify-boilerplate.sh
- ./hack/build-go.sh
script: