From 5a71ea45241800301a454c587fdd13fec45d2f9f Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 12 Nov 2020 10:54:57 -0800 Subject: [PATCH] standardize steps to take before doing stuff with the sketch --- bin/kaleidoscope-builder | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 1fc9bd5b..cfa59a84 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -228,6 +228,7 @@ flash() { _find_sketch _ensure_sketch_found _build_paths + _set_executable_paths # Check to see if we can see a keyboard bootloader port. @@ -256,6 +257,7 @@ hex_with_bootloader() { _find_sketch _ensure_sketch_found _build_paths + _set_executable_paths : "${BOOTLOADER_PATH:=$(_arduino_prop 'runtime.platform.path')/bootloaders/$(_arduino_prop 'bootloader.file')}" @@ -357,6 +359,7 @@ clean() { _find_sketch _ensure_sketch_found _build_paths + _set_executable_paths if [ -d "$OUTPUT_PATH" ]; then rm -rf -- "${OUTPUT_PATH}" fi