Skip to content

feat(tui): auto-register themes from themes/ folder via build.rs - #256

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/auto-register-themes-via-build-rs
Aug 5, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/auto-register-themes-via-build-rs

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor
  • Add build.rs that scans crates/forge-tui/themes/*.toml at compile time
  • Replace hardcoded BUILTIN_THEMES array with generated include!
  • Themes remain embedded; adding a new .toml now requires no Rust change
  • Preserves existing behavior, tests, and release binary self-containment

- Add build.rs that scans crates/forge-tui/themes/*.toml at compile time
- Replace hardcoded BUILTIN_THEMES array with generated include!
- Themes remain embedded; adding a new .toml now requires no Rust change
- Preserves existing behavior, tests, and release binary self-containment
@github-actions
github-actions Bot enabled auto-merge (squash) August 5, 2026 07:25
@github-actions
github-actions Bot merged commit 7f8c79b into main Aug 5, 2026
8 of 9 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
- Add build.rs that scans crates/forge-tui/themes/*.toml at compile time
- Replace hardcoded BUILTIN_THEMES array with generated include!
- Themes remain embedded; adding a new .toml now requires no Rust change
- Preserves existing behavior, tests, and release binary self-containment
mohitranka added a commit that referenced this pull request Sep 11, 2026
- Add build.rs that scans crates/forge-tui/themes/*.toml at compile time
- Replace hardcoded BUILTIN_THEMES array with generated include!
- Themes remain embedded; adding a new .toml now requires no Rust change
- Preserves existing behavior, tests, and release binary self-containment
mohitranka added a commit that referenced this pull request Sep 11, 2026
- Add build.rs that scans crates/forge-tui/themes/*.toml at compile time
- Replace hardcoded BUILTIN_THEMES array with generated include!
- Themes remain embedded; adding a new .toml now requires no Rust change
- Preserves existing behavior, tests, and release binary self-containment
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