1
0
Fork 0

update build script

This commit is contained in:
Jack Humbert 2017-08-23 15:44:17 -04:00
parent d54360b1d8
commit 437c86c9c1

View file

@ -55,17 +55,12 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
ssh-add -D ssh-add -D
eval `ssh-agent -s` eval `ssh-agent -s`
ssh-add id_rsa_qmk.fm 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 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 add -A
git commit -m "generated from qmk/qmk_firmware@${rev}" git commit -m "generated from qmk/qmk_firmware@${rev}"