Make all subprojects when a keymap is modified

example_keyboards
Fred Sundvik 8 years ago
parent 7feadbd66d
commit 5acc0e54aa

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

Loading…
Cancel
Save