Commit Graph

5 Commits (bb460c04ddb25245906e80ec5e42ee5675782c92)

Author SHA1 Message Date
Mike Danese a6589f7d38 hack: ignore cluster/env.sh in boilerplate check
This is used for user configuration overrides in cluster/. We should not
enforce the boilerplate headers in this file.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 22:04:33 -08:00
Wojciech Tyczynski 712ab62c63 Update verify boilerplate to support 2016 2016-01-01 12:00:21 +01:00
Jeff Grafton 4cafa3e92d Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies,
and any files in it should be ignored by the various verification
scripts.
2015-10-19 14:09:23 -07:00
Eric Paris 8a91d86783 Speed up pre-commit boilerplate by only checking changed files
Although the boilerplate checker was very fast it can be faster. With
this change we can hand the boilerplate a list of files which need to be
checked or give it no files. If given no files it will run all files in
the repo. Before you had to explicitly tell the boiler checker the
'extention' of the the files.  In this case we let the checker figure it
out and load the headers as needed.

Doing the whole repo takes about 0.4 seconds. Doing a single go file
takes < .04 seconds.
2015-08-14 10:19:33 -04:00
Eric Paris 302cb7dc7f Move boilerplate from hooks/ to hack/
Hooks seems like they should be hooks. Not sure hack makes a lot more
sense, but it has more stuff already.
2015-08-11 14:20:38 -04:00