|
|
@ -26,21 +26,25 @@ else
|
|
|
|
echo "No essential files modified."
|
|
|
|
echo "No essential files modified."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
make ergodox-ez AUTOGEN=true
|
|
|
|
if [[ "$TRAVIS_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then
|
|
|
|
|
|
|
|
|
|
|
|
find . -name ".build" | xargs rm -rf
|
|
|
|
make ergodox-ez AUTOGEN=true
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git
|
|
|
|
find . -name ".build" | xargs rm -rf
|
|
|
|
cd qmk.fm
|
|
|
|
cd ..
|
|
|
|
git submodule update --init --recursive
|
|
|
|
git clone https://$GH_TOKEN@github.com/jackhumbert/qmk.fm.git
|
|
|
|
rm -rf keyboard
|
|
|
|
cd qmk.fm
|
|
|
|
rm -rf keyboards
|
|
|
|
git submodule update --init --recursive
|
|
|
|
cp -r ../qmk_firmware/keyboards .
|
|
|
|
rm -rf keyboard
|
|
|
|
mkdir keyboards/ergodox_ez/
|
|
|
|
rm -rf keyboards
|
|
|
|
cp ../qmk_firmware/util/ergodox_ez.html keyboards/ergodox_ez/index.html
|
|
|
|
cp -r ../qmk_firmware/keyboards .
|
|
|
|
cp ../qmk_firmware/readme.md qmk_readme.md
|
|
|
|
mkdir keyboards/ergodox_ez/
|
|
|
|
./generate.sh
|
|
|
|
cp ../qmk_firmware/util/ergodox_ez.html keyboards/ergodox_ez/index.html
|
|
|
|
|
|
|
|
cp ../qmk_firmware/readme.md qmk_readme.md
|
|
|
|
git add -A
|
|
|
|
./generate.sh
|
|
|
|
git commit -m "generated from qmk/qmk_firmware@${rev}"
|
|
|
|
|
|
|
|
git push
|
|
|
|
git add -A
|
|
|
|
|
|
|
|
git commit -m "generated from qmk/qmk_firmware@${rev}"
|
|
|
|
|
|
|
|
git push
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|