diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-11 13:45:44 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-11 13:46:52 +0800 |
| commit | d60f7d0963165455811ad60e54112e591bb428c4 (patch) | |
| tree | 2f8cc7c00350c3a1fc1cec37337b95de8bfb494a /.run/src/dependency_order.rs | |
| parent | d58c10f0c14be5bc394aff4cde968b17eb2ae5d9 (diff) | |
feat(release): add workspace release script and refactor run_cmd helpers
Diffstat (limited to '.run/src/dependency_order.rs')
| -rw-r--r-- | .run/src/dependency_order.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<PathBuf> { +pub fn find_workspace_root(start: &std::path::Path) -> Option<PathBuf> { 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); |
