Make all subprojects when a keymap is modified

This commit is contained in:
Fred Sundvik 2017-06-18 16:18:40 +03:00
parent 7feadbd66d
commit 5acc0e54aa

View file

@ -14,7 +14,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
MKB=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -oP '(?<=keyboards\/)([a-zA-Z0-9_]+)(?=\/)' | sort -u) MKB=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -oP '(?<=keyboards\/)([a-zA-Z0-9_]+)(?=\/)' | sort -u)
for KB in $MKB ; do for KB in $MKB ; do
echo "Making all keymaps for $KB" echo "Making all keymaps for $KB"
make "$KB" AUTOGEN=true make ${KB}-allsp-allkm AUTOGEN=true
: $((exit_code = $exit_code + $?)) : $((exit_code = $exit_code + $?))
done done
fi fi