1
0
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:
Ludwig Ortmann 2014-08-23 16:13:05 +02:00
parent b7992922ce
commit 26d2781624

View File

@ -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