From dcb5026f33cbecd06f9bdd42f805ebf3f5fe5708 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 4 Jul 2016 14:53:11 +0200 Subject: [PATCH] script, lib/discover: Fixup copyright checks --- lib/discover/local_test.go | 6 ++++++ script/check-copyright.go | 1 + 2 files changed, 7 insertions(+) diff --git a/lib/discover/local_test.go b/lib/discover/local_test.go index f7e254a99..bdb735060 100644 --- a/lib/discover/local_test.go +++ b/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 ( diff --git a/script/check-copyright.go b/script/check-copyright.go index a2c729043..3fe8459a2 100644 --- a/script/check-copyright.go +++ b/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, "|"))