feat(bake): add bake module for script execution and refactor error

handling

- Add new bake module with parser, scheduler, decorator, and builder
- Implement topological sorting for functions with @after dependencies
- Add error handling for circular dependencies and unknown dependencies
- Introduce constants module for shared path definitions
- Add BakeError type (renamed from BuilderError) with new variants
- Add PrebakeStage::Never variant for "never drop privileges"
- Simplify decorator parsing and clean up comments
- Remove RustyVault and rust-tongsuo submodules as they are unused
  (temporarily)
- Update .gitignore to include .ruff_cache
This commit is contained in:
Catty Steve
2026-04-02 19:34:21 +08:00
parent b02407a02d
commit b59a702925
15 changed files with 275 additions and 212 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
target
playground
*.old
.ruff_cache
.codeartsdoer
.codeartsdoer