From d60f7d0963165455811ad60e54112e591bb428c4 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 11 Jul 2026 13:45:44 +0800 Subject: feat(release): add workspace release script and refactor run_cmd helpers --- .run/src/dependency_order.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.run/src/dependency_order.rs') diff --git a/.run/src/dependency_order.rs b/.run/src/dependency_order.rs index 1fe5966..7235f12 100644 --- a/.run/src/dependency_order.rs +++ b/.run/src/dependency_order.rs @@ -121,7 +121,7 @@ fn topological_sort( /// Find the workspace root by looking for a Cargo.toml with `[workspace]` members. /// Starts from `start` and walks up the directory tree. -fn find_workspace_root(start: &std::path::Path) -> Option { +pub fn find_workspace_root(start: &std::path::Path) -> Option { let mut current = Some(std::fs::canonicalize(start).unwrap_or_else(|_| start.to_path_buf())); while let Some(dir) = current { let members = get_workspace_members(&dir); -- cgit