update build script

pull/1634/head
Jack Humbert 7 years ago
parent d54360b1d8
commit 437c86c9c1

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

Loading…
Cancel
Save