From 437c86c9c1b81ecbb4470830d456d440a8c63507 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 23 Aug 2017 15:44:17 -0400 Subject: [PATCH] update build script --- util/travis_compiled_push.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh index 600c05673..abfec4ecd 100644 --- a/util/travis_compiled_push.sh +++ b/util/travis_compiled_push.sh @@ -55,17 +55,12 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then ssh-add -D eval `ssh-agent -s` ssh-add id_rsa_qmk.fm - #git submodule update --init --recursive - #rm -rf keyboard - #rm -rf keyboards - #yes | cp -rf ../qmk_firmware/keyboards . - #mkdir keyboards/ergodox_ez/ - #cp ../qmk_firmware/util/ergodox_ez.html keyboards/ergodox_ez/index.html - #cp ../qmk_firmware/readme.md qmk_readme.md - #./generate.sh + rm -f compiled/*.hex - for file in ../qmk_firmware/keyboards/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}"; done - for file in ../qmk_firmware/keyboards/*/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}"; done + + # ignore errors here + for file in ../qmk_firmware/keyboards/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}" || true; done + for file in ../qmk_firmware/keyboards/*/*/keymaps/*/*.hex; do mv -v "$file" "compiled/${file##*/}" || true; done git add -A git commit -m "generated from qmk/qmk_firmware@${rev}"