remove recursion into 'the global set of libraries'

pull/135/head
Jesse Vincent 8 years ago
parent e3c90512e9
commit 532696abb5
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

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

Loading…
Cancel
Save