diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 4ac27d5b..d2e2142b 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -415,34 +415,6 @@ _arduino_props() { echo "$_ARDUINO_PREFS" } -find_all_sketches() { - for sketch_name in ./*.ino \ - $([ -d examples ] && find examples -name '*.ino') \ - src/*.ino; do - if [ -d "$(dirname "${sketch_name}")" ] || [ -f "${sketch_name}" ]; then - p="$(basename "${sketch_name}" .ino)" - if [ "${p}" != '*' ]; then - case "${sketch_name}" in - examples/*/${p}/${p}.ino) - echo "${sketch_name}" | sed -e "s,examples/,," | sed -e "s,/${p}\\.ino,," - ;; - *) - echo "${p}" - ;; - esac - fi - fi - done | sort -} - -build_all() { - plugins="$(find_all_sketches)" - - for sketch in ${plugins}; do - $0 "${sketch}" compile - done -} - size_map() { compile diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 13d5d7bf..a064adad 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -56,7 +56,7 @@ compile-sketch: OUTPUT_PATH="${LIB_DIR}" \ VERBOSE=${VERBOSE} \ ARCH=virtual DEFAULT_SKETCH=sketch \ - $(MAKE) -f ${top_dir}/testing/makefiles/delegate.mk build-all + $(MAKE) -f ${top_dir}/testing/makefiles/delegate.mk compile g++ -o "${BIN_DIR}/${BIN_FILE}" \ -lpthread \ -g \