diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-08-23 21:44:17 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-23 21:44:25 +0200 |
commit | 437c86c9c1b81ecbb4470830d456d440a8c63507 (patch) | |
tree | 500859dcd4ee3ef270727beb3cf425d2ab1e5966 | |
parent | d54360b1d8fe96873f5a2fc87993c9086a61e568 (diff) | |
download | qmk_firmware-437c86c9c1b81ecbb4470830d456d440a8c63507.tar.gz qmk_firmware-437c86c9c1b81ecbb4470830d456d440a8c63507.tar.xz |
update build script
-rw-r--r-- | util/travis_compiled_push.sh | 15 |
1 files 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}" |