A platform hook to run something before the preprocessor? #1910
Labels
conclusion: resolved
Issue was resolved
topic: documentation
Related to documentation for the project
type: imperfection
Perceived defect in any part of project
Describe the problem
I coudn't find a hook documented in https://arduino.github.io/arduino-cli/0.27/platform-specification/#pre-and-post-build-hooks-since-arduino-ide-165 that runs before the preprocessor.
To reproduce
N/A
Expected behavior
N/A
Arduino CLI version
0.27.1
Operating system
N/A
Operating system version
N/A
Additional context
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?Issue checklist
The text was updated successfully, but these errors were encountered: