summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-08-23 15:44:17 -0400
committerJack Humbert <jack.humb@gmail.com>2017-08-23 15:44:25 -0400
commit437c86c9c1b81ecbb4470830d456d440a8c63507 (patch)
tree500859dcd4ee3ef270727beb3cf425d2ab1e5966
parentd54360b1d8fe96873f5a2fc87993c9086a61e568 (diff)
update build script
-rw-r--r--util/travis_compiled_push.sh15
1 files changed, 5 insertions, 10 deletions
diff --git a/util/travis_compiled_push.sh b/util/travis_compiled_push.sh
index 600c05673a..abfec4ecd2 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}"