feat(cbuild): refactor and enhance C build system with new features

- Refactor logging system with simplified ColorFormatter and improved output formatting
- Add test command with regex pattern matching and timeout support
- Implement file size formatting utility for build output
- Remove unused imports and streamline code structure
- Update .gitignore to exclude external/ directory
- Improve error handling and subprocess management in test execution
- Optimize build dependency resolution with topological sorting
- Enhance configuration parsing and target management

The changes focus on code quality improvements, adding testing capabilities, and optimizing the build process for better performance and maintainability.
This commit is contained in:
zzy
2025-12-10 22:21:37 +08:00
parent 186602a301
commit 098e41d3e5
2 changed files with 641 additions and 753 deletions

3
.gitignore vendored
View File

@@ -29,3 +29,6 @@ note.md
# cbuilder
build
# external
external/

File diff suppressed because it is too large Load Diff