Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A platform hook to run something before the preprocessor? #173

Closed
carlosperate opened this issue Oct 6, 2022 · 1 comment
Closed

A platform hook to run something before the preprocessor? #173

carlosperate opened this issue Oct 6, 2022 · 1 comment
Labels

Comments

@carlosperate
Copy link

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?

@carlosperate
Copy link
Author

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants