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.
This commit is contained in:
Jeff Grafton
2015-09-25 15:01:59 -07:00
parent 4d18186afd
commit 4cafa3e92d
6 changed files with 9 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ def file_passes(filename, refs, regexs):
def file_extension(filename):
return os.path.splitext(filename)[1].split(".")[-1].lower()
skipped_dirs = ['Godeps', 'third_party', '_output', '.git']
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git']
def normalize_files(files):
newfiles = []
for pathname in files: