Add the cwd to the searchpath for kaleidoscope builder. This lets you build a sketch with the traditional arduino sketch code layout

pull/121/head
Jesse Vincent 8 years ago
parent d119dcd105
commit fa56858695

@ -22,7 +22,8 @@ find_sketch () {
for path in "hardware/keyboardio/avr/libraries/Kaleidoscope-${LIBRARY}/examples/${SKETCH}" \ for path in "hardware/keyboardio/avr/libraries/Kaleidoscope-${LIBRARY}/examples/${SKETCH}" \
"examples/${LIBRARY}" \ "examples/${LIBRARY}" \
"src"; do "src" \
"."; do
if [ -f "${path}/${SKETCH}.ino" ]; then if [ -f "${path}/${SKETCH}.ino" ]; then
echo "${path}" echo "${path}"
return return

Loading…
Cancel
Save