Skip to content

Commit 9818b33

Browse files
committed
refactor: consolidate binaries into unified sbuild CLI with subcommands
- Merge 4 separate binaries (sbuild, sbuild-cache, sbuild-meta, sbuild-linter) into single sbuild binary - Add subcommands: build, info, cache, lint, meta - Implement timeout enforcement in exec() to prevent hanging builds - Clean up temp build script file after execution - Fix -p short option conflict in lint command (pkgver now uses -P)
1 parent 6eabf2f commit 9818b33

15 files changed

Lines changed: 2307 additions & 2835 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sbuild-cache/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@ repository = "https://github.com/pkgforge/sbuilder"
99
keywords = ["soar", "sbuild", "cache", "sqlite", "build-history"]
1010

1111
[dependencies]
12-
clap = { version = "4", features = ["derive"] }
1312
rusqlite = { version = "0.36", features = ["bundled"] }
1413
serde = { version = "1", features = ["derive"] }
1514
serde_json = "1"
1615
chrono = { version = "0.4", features = ["serde"] }
1716
thiserror = "2"
1817
tracing = "0.1"
1918

20-
[[bin]]
21-
name = "sbuild-cache"
22-
path = "src/main.rs"
23-
2419
[lib]
2520
name = "sbuild_cache"
2621
path = "src/lib.rs"

0 commit comments

Comments
 (0)