|
|
@ -24,8 +24,7 @@ find_sketch () {
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
for path in "hardware/keyboardio/avr/libraries/Kaleidoscope-${LIBRARY}/examples/${SKETCH}" \
|
|
|
|
for path in "examples/${LIBRARY}" \
|
|
|
|
"examples/${LIBRARY}" \
|
|
|
|
|
|
|
|
"src" \
|
|
|
|
"src" \
|
|
|
|
"."; do
|
|
|
|
"."; do
|
|
|
|
if [ -f "${path}/${SKETCH}.ino" ]; then
|
|
|
|
if [ -f "${path}/${SKETCH}.ino" ]; then
|
|
|
@ -139,8 +138,7 @@ compile () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_find_all () {
|
|
|
|
_find_all () {
|
|
|
|
for plugin in hardware/keyboardio/avr/libraries/Kaleidoscope-*/examples/* \
|
|
|
|
for plugin in examples/* \
|
|
|
|
examples/* \
|
|
|
|
|
|
|
|
src/*.ino; do
|
|
|
|
src/*.ino; do
|
|
|
|
if [ -d "$(dirname ${plugin})" ] || [ -f "${plugin}" ]; then
|
|
|
|
if [ -d "$(dirname ${plugin})" ] || [ -f "${plugin}" ]; then
|
|
|
|
p="$(basename "${plugin}" .ino)"
|
|
|
|
p="$(basename "${plugin}" .ino)"
|
|
|
|