From fa56858695e4df11ae47d0f8a779c76211206d96 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 28 Feb 2017 18:14:53 +0800 Subject: [PATCH] Add the cwd to the searchpath for kaleidoscope builder. This lets you build a sketch with the traditional arduino sketch code layout --- tools/kaleidoscope-builder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/kaleidoscope-builder b/tools/kaleidoscope-builder index c4d8f1a8..e3ed0bbc 100755 --- a/tools/kaleidoscope-builder +++ b/tools/kaleidoscope-builder @@ -22,7 +22,8 @@ find_sketch () { for path in "hardware/keyboardio/avr/libraries/Kaleidoscope-${LIBRARY}/examples/${SKETCH}" \ "examples/${LIBRARY}" \ - "src"; do + "src" \ + "."; do if [ -f "${path}/${SKETCH}.ino" ]; then echo "${path}" return