Merge pull request #98 from algernon/h/tools/keyboardio-builder/purge-unused

keyboardio-builder: Drop submodule_update
pull/105/head
Jesse Vincent 8 years ago committed by GitHub
commit eaeae8157b

@ -16,23 +16,6 @@ firmware_size () {
echo "${output}" | sed -e "s,\(Program:.*\)(\([0-9\.]*%\) Full),\1(${PERCENT}% Full)," echo "${output}" | sed -e "s,\(Program:.*\)(\([0-9\.]*%\) Full),\1(${PERCENT}% Full),"
} }
submodule_update () {
cd $(dirname $0)/..
echo Syncing submodules...
git submodule --quiet sync --recursive
echo Updating submodules...
git submodule --quiet update --init --recursive
echo
for lib in hardware/keyboardio/avr/libraries/* lib/*; do
echo Updating $(basename ${lib})...
(cd $lib; git checkout -q master; git pull -q --ff)
done
}
find_sketch () { find_sketch () {
if [ -e "${SOURCEDIR}/.keyboardio-builder.conf" ]; then if [ -e "${SOURCEDIR}/.keyboardio-builder.conf" ]; then
. "${SOURCEDIR}/.keyboardio-builder.conf" . "${SOURCEDIR}/.keyboardio-builder.conf"

Loading…
Cancel
Save