script, lib/discover: Fixup copyright checks

This commit is contained in:
Jakob Borg
2016-07-04 14:53:11 +02:00
parent 778ff9daa9
commit dcb5026f33
2 changed files with 7 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ var copyrightRegexps = []string{
`Copyright`,
`package auto`,
`automatically generated by genxdr`,
`generated by protoc`,
}
var copyrightRe = regexp.MustCompile(strings.Join(copyrightRegexps, "|"))