Skip to content

Commit f60782c

Browse files
committed
scripts: modify comment and folders to exclude
Signed-off-by: SorinO <sorin.olari2@gmail.com>
1 parent 5c80f7d commit f60782c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

scripts/check_license_banner_conf_files.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

7-
# Checks all C/C++ files for license banner
7+
# Checks license banner in all files that use '#' comment syntax
88

99
set -e
1010

@@ -45,13 +45,10 @@ ERROR_FOUND=0
4545
for file in $(find . -type f \( -name 'CMakeLists.txt' -o -name '*.yaml' \
4646
-o -name '*.yml' -o -name '*.awk' -o -name '*.conf' -o -name 'Kconfig*' \
4747
-o -name '.gitignore' -o -name '.gitmodules' -o -name '*.sh' -o -name '*.cmake' -o -name '*.py' \) \
48-
! -name 'utlist.h' \
4948
! -path './tests/Unity/*' \
5049
! -path './build/*' \
5150
! -path './wasm-micro-runtime/*' \
5251
! -path './ocre-sdk/*' \
53-
! -path './src/shell/sha256/*' \
54-
! -path './src/runtime/wamr-wasip1/ocre_api/utils/*' \
5552
| sort); do
5653

5754
if ! check_license_banner "$file"; then

0 commit comments

Comments
 (0)