Don't lint codecgen'd code.

This commit is contained in:
Tom Wilkie
2016-02-22 13:56:42 +00:00
parent cbb0567cd4
commit d76a90a999

2
lint
View File

@@ -148,7 +148,7 @@ function lint_files {
function list_files {
if [ $# -gt 0 ]; then
find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/)'
find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/|codecgen.go$)'
else
git diff --cached --name-only
fi