mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests: let license checker check cpp files, too
This commit is contained in:
parent
b7992922ce
commit
26d2781624
4
dist/tools/licenses/check.sh
vendored
4
dist/tools/licenses/check.sh
vendored
@ -22,9 +22,9 @@ done
|
||||
|
||||
# select files to check
|
||||
if [ -z "${BRANCH}" ]; then
|
||||
FILES="$(git ls-tree -r --full-tree --name-only HEAD | grep -E '\.[sSch]$')"
|
||||
FILES="$(git ls-tree -r --full-tree --name-only HEAD | grep -E '\.([sSch]|cpp)$')"
|
||||
else
|
||||
FILES="$(git diff --diff-filter=ACMR --name-only ${BRANCH} | grep -E '\.[sSch]$')"
|
||||
FILES="$(git diff --diff-filter=ACMR --name-only ${BRANCH} | grep -E '\.([sSchp]|cpp)$')"
|
||||
fi
|
||||
|
||||
# categorize files
|
||||
|
Loading…
Reference in New Issue
Block a user