1
0
Fork 0

update travis script

This commit is contained in:
Jack Humbert 2017-05-17 20:27:07 -04:00
parent a74e69e9fa
commit 8da442f411
2 changed files with 7 additions and 7 deletions

View file

@ -1 +0,0 @@
<html><head><meta http-equiv="refresh" content="0; url=http://qmk.fm/keyboards/ergodox/" /></head></html>

View file

@ -33,18 +33,19 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
make ergodox-ez AUTOGEN=true
find . -name ".build" | xargs rm -rf
cd ..
git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git
cd qmk.fm
git submodule update --init --recursive
#git submodule update --init --recursive
#rm -rf keyboard
#rm -rf keyboards
yes | cp -rf ../qmk_firmware/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
#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
git add -A
git commit -m "generated from qmk/qmk_firmware@${rev}"