Skip to content

Support conditional rebuild#90

Open
mikee47 wants to merge 8 commits intodevelopfrom
feature/conditional-rebuild
Open

Support conditional rebuild#90
mikee47 wants to merge 8 commits intodevelopfrom
feature/conditional-rebuild

Conversation

@mikee47
Copy link
Owner

@mikee47 mikee47 commented Feb 6, 2026

As suggested in #89 this PR changes the build logic to detect when a schema has changed due to build variables.

Input .cfgdb schema is parsed and expressions evaluated. This schema is written as a .json file to out/Esp8266/debug/ConfigDB/schema.
Now, this is done as a pre-parsing stage and the .json is only updated if it is different to the existing one. This is managed by a new --preprocess flag for dbgen.py.
Standard make logic then detects the new files(s) and does a full rebuild.

@mikee47 mikee47 marked this pull request as draft February 6, 2026 15:44
@mikee47 mikee47 marked this pull request as ready for review February 6, 2026 15:45
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

Successfully merging this pull request may close these issues.

1 participant