Skip to content

Commit 10530a0

Browse files
committed
copyright check: Skip auto-generated CMakeFiles
This is needed when building in the source tree. Fixes google#412
1 parent 1628033 commit 10530a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/add_copyright.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def find(top, filename_glob, skip_glob_list):
6363
def filtered_descendants(glob):
6464
"""Returns glob-matching filenames under the current directory, but skips
6565
some irrelevant paths."""
66-
return find('.', glob, ['third_party', 'ext', 'build*', 'out*'])
66+
return find('.', glob, ['third_party', 'external', 'build*', 'out*',
67+
'CompilerIdCXX'])
6768

6869

6970
def skip(line):

0 commit comments

Comments
 (0)