aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/check_copyright.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check_copyright.sh')
-rwxr-xr-xscripts/check_copyright.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/check_copyright.sh b/scripts/check_copyright.sh
index cc83e29..88d45ca 100755
--- a/scripts/check_copyright.sh
+++ b/scripts/check_copyright.sh
@@ -21,8 +21,9 @@ options=(
'Copyright [0-9]{4}.*Google'
)
-git grep "${options[@]}" \
- -- '*.'{c,cc,h,js,m,mm,py,rb,sh,swift} \
+git grep "${options[@]}" -- \
+ '*.'{c,cc,cmake,h,js,m,mm,py,rb,sh,swift} \
+ CMakeLists.txt '**/CMakeLists.txt' \
':(exclude)**/third_party/**'
if [[ $? == 0 ]]; then
echo "ERROR: Missing copyright notices in the files above. Please fix."