Explorar o código

script, lib/discover: Fixup copyright checks

Jakob Borg %!s(int64=9) %!d(string=hai) anos
pai
achega
dcb5026f33
Modificáronse 2 ficheiros con 7 adicións e 0 borrados
  1. 6 0
      lib/discover/local_test.go
  2. 1 0
      script/check-copyright.go

+ 6 - 0
lib/discover/local_test.go

@@ -1,3 +1,9 @@
+// Copyright (C) 2016 The Syncthing Authors.
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this file,
+// You can obtain one at http://mozilla.org/MPL/2.0/.
+
 package discover
 
 import (

+ 1 - 0
script/check-copyright.go

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