From d4a14fa7c93423da14f4391ff838fd4ba7614b15 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 2 Oct 2020 22:55:58 -0700 Subject: [PATCH] expose the function that finds all the buildable sketches as "find_all_sketches" --- bin/kaleidoscope-builder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 05990067..31d896a0 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -445,7 +445,7 @@ compile () { FQBN="${SAVED_FQBN}" } -_find_all () { +find_all_sketches () { for plugin in ./*.ino \ $([ -d examples ] && find examples -name '*.ino') \ src/*.ino; do @@ -466,7 +466,7 @@ _find_all () { } build_all () { - plugins="$(_find_all)" + plugins="$(find_all_sketches)" for plugin in ${plugins}; do export SKETCH="${plugin}" @@ -477,7 +477,7 @@ build_all () { compile_all () { - plugins="$(_find_all)" + plugins="$(find_all_sketches)" for plugin in ${plugins}; do export SKETCH="${plugin}"