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

add pre build hooks for .default files #20

Open
armageddon421 opened this issue Sep 16, 2020 · 0 comments
Open

add pre build hooks for .default files #20

armageddon421 opened this issue Sep 16, 2020 · 0 comments

Comments

@armageddon421
Copy link
Owner

The goal of this issue is to replace the config files in data/cfg with *.default files outside of the data directory.
A pre-build hook shall be used to copy the *.default files to their appropriate location before the build.
The data/cfg directory is to be added to the .gitignore file.
This makes development/deployment easier because config files should not make the environment "dirty".

https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#before-pre-and-after-post-actions

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

No branches or pull requests

1 participant