update travis script

pull/193/merge
Jack Humbert 8 years ago
parent a74e69e9fa
commit 8da442f411

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

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

Loading…
Cancel
Save