Skip to content

Commit 30636d2

Browse files
committed
Added more exception files V2.2
1 parent d4edc2f commit 30636d2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

check_license/check-headers.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ fi
8686

8787
chmod +x "${SOURCE_ROOT}/check_license/file-exceptions.sh"
8888

89-
FILES=$($GIT $GIT_COMMAND | ${SOURCE_ROOT}/check_license/file-exceptions.sh)
89+
FILES=$($GIT $GIT_COMMAND | ${SOURCE_ROOT}/check_license/file-exceptions.sh\
90+
grep -E -e '*\.[chs]$' -e '*\.[ch]pp$' -e '*\.sh$' -e '*\.py$' \
91+
-e 'Makefile*' -e 'CMakeLists.txt$' -e '*\.cmake$' \
92+
-e '*\.link$' -e '*\.map$' -e '*\.Dockerfile$' -e 'LICENSE$' \
93+
-e '/match$' | \
94+
xargs)
9095

9196
RV=0
9297
for file in $FILES ; do

check_license/file-exceptions.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@ grep -v -E -e '\src\uthash' \
99
-e 'include/umf/proxy_lib_new_delete.h' \
1010
-e 'scripts/docs_config/conf.py' \
1111
-e 'src/uthash/utlist.h' \
12-
-e '\.md$' \
13-
-e '\.clang-format$' \
14-
-e '\.cmake-format$' \
15-
-e 'CODEOWNERS$' \
16-
-e '\.ym$'
12+
-e '\.yml$'

0 commit comments

Comments
 (0)