arduino-builder icon indicating copy to clipboard operation
arduino-builder copied to clipboard

Arduino builder compiles hidden directories

Open NicoHood opened this issue 9 years ago • 3 comments
trafficstars

I sometimes need to move my code somewhere else to back it up for a huge api change. I wish I could use a .old folder for this, but arduino builder still compiles those files.

Example error: /Arduino/sketchbook/libraries/IRLremote/src/.old/IRLremoteReceive.hpp:141:29: error: 'dataNec' was not declared in this scope

I guess the fix is quite simple, as only hidden folders has to be excluded from compiling/linking.

NicoHood avatar May 01 '16 09:05 NicoHood

I was actually working on a refactor of some of the compilation steps that actually changed exactly this. I'll make sure to reference this issue from my PR when I'm done :-)

matthijskooijman avatar May 01 '16 13:05 matthijskooijman

Fixed with https://github.com/arduino/arduino-builder/commit/405a24a7e3de1d48e1dc2b6bf152b1342a578b78

cmaglie avatar May 23 '16 16:05 cmaglie

Nope, this wasn't fixed by that.

matthijskooijman avatar Aug 01 '16 13:08 matthijskooijman