aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/check_copyright.py
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-05-13 10:38:34 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-05-13 10:50:29 -0700
commitfdb8931e476396fa69298b6914db4f0bb855eabe (patch)
tree6e43e02614c598a276ddb07314842366b1535c6c /tools/distrib/check_copyright.py
parentebf66403aabf03d519c9f7307149720faf6e1d47 (diff)
check for copyright in .bat files
Diffstat (limited to 'tools/distrib/check_copyright.py')
-rwxr-xr-xtools/distrib/check_copyright.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 68411c631d..4577ab3d11 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -71,6 +71,7 @@ with open('LICENSE') as f:
# that given a line of license text, returns what should
# be in the file
LICENSE_PREFIX = {
+ '.bat': r'@rem\s*',
'.c': r'\s*(?://|\*)\s*',
'.cc': r'\s*(?://|\*)\s*',
'.h': r'\s*(?://|\*)\s*',