check for copyright in .bat files

pull/6578/head
Jan Tattermusch 9 years ago
parent ebf66403aa
commit fdb8931e47
  1. 1
      tools/distrib/check_copyright.py

@ -71,6 +71,7 @@ with open('LICENSE') as f:
# that given a line of license text, returns what should # that given a line of license text, returns what should
# be in the file # be in the file
LICENSE_PREFIX = { LICENSE_PREFIX = {
'.bat': r'@rem\s*',
'.c': r'\s*(?://|\*)\s*', '.c': r'\s*(?://|\*)\s*',
'.cc': r'\s*(?://|\*)\s*', '.cc': r'\s*(?://|\*)\s*',
'.h': r'\s*(?://|\*)\s*', '.h': r'\s*(?://|\*)\s*',

Loading…
Cancel
Save