"build-all" now works for a top-level sketch

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

@ -138,7 +138,8 @@ compile () {
} }
_find_all () { _find_all () {
for plugin in examples/* \ for plugin in ./*.ino \
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)"

Loading…
Cancel
Save