Closed carlosperate closed 2 years ago
I coudn't find a hook documented in https://arduino.github.io/arduino-cli/0.27/platform-specification/?utm_source=pocket_mylist#pre-and-post-build-hooks-since-arduino-ide-165 that runs before the preprocessor.
Looking around in the source code I've found a reference to recipe.hooks.prebuild, which seems to do the trick, but as it is not in the docs I'm not sure if I am meant to be using it?
recipe.hooks.prebuild
Argh, sorry, I meant to open this in https://github.com/arduino/arduino-cli/. I've created the issue in the right location and will close this one:
I coudn't find a hook documented in https://arduino.github.io/arduino-cli/0.27/platform-specification/?utm_source=pocket_mylist#pre-and-post-build-hooks-since-arduino-ide-165 that runs before the preprocessor.
Looking around in the source code I've found a reference to
recipe.hooks.prebuild
, which seems to do the trick, but as it is not in the docs I'm not sure if I am meant to be using it?