Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNo sketch folder property in build properties #24
Comments
Are you sure? |
I'm using the standard AVR platform.txt file from an unmodifed version of arduino/Arduino (commit 435fc323e0ab3b03bc5835e5309b5022bf57388a) |
Ahh you're right. I mistakenly set it to the sketch file instead of its folder. Fixing it right now |
Ok, fix will be available with next IDE hourly, which is being built http://www.arduino.cc/en/Main/Software#hourly |
…e it must be set to its container folder. Fixes arduino#24 Signed-off-by: Federico Fissore <f.fissore@arduino.cc>
build.source.path
contains the absolute name of the sketch .ino file. No property exists which defines the sketch folder. This is required for recipes which need to reference files within the original sketch folder.The closest available is
build.path
(/tmp/...) but when referencing files in there the timestamp changes which forces compilation to be run even when not required.