File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
99set -e
1010
@@ -45,13 +45,10 @@ ERROR_FOUND=0
4545for 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
You can’t perform that action at this time.
0 commit comments