diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-18 10:13:39 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-18 10:13:39 +0800 |
| commit | 8ea8e13f1a6b2a2942b78127e23d6783c5188ca5 (patch) | |
| tree | 01cc8dde8cb8c90529c8d5f66dc57a08ed7cdc26 /mingling_ci/src/task/cmd_build.rs | |
| parent | 570b2bc1710c0ab8a68ad69a6121144e4f5e3aca (diff) | |
refactor(ci-new): generalize report entries from packages to items
Rename package-based terminology and structures to item-based, allowing
arbitrary items with associated locations instead of only crate
packages.
Locations are now carried through report files and included in generated
reports, with the fallback to `—` removed.
Diffstat (limited to 'mingling_ci/src/task/cmd_build.rs')
| -rw-r--r-- | mingling_ci/src/task/cmd_build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_ci/src/task/cmd_build.rs b/mingling_ci/src/task/cmd_build.rs index a74c323..f37699c 100644 --- a/mingling_ci/src/task/cmd_build.rs +++ b/mingling_ci/src/task/cmd_build.rs @@ -9,14 +9,14 @@ use mingling::{ use crate::Next; use crate::res::Manifests; -use crate::task::run::run_parallel_checks; +use crate::task::run::{location, run_parallel_checks}; #[command(node = "build-all")] pub async fn build_all(manifests: &Manifests) -> Next { let tasks = manifests .package_dirs .iter() - .map(|(name, path)| (name.clone(), build_args(path))) + .map(|(name, path)| (name.clone(), location(path), build_args(path))) .collect(); let fail_count = run_parallel_checks("Build-All", "Building", tasks).await; ResultBuildAll { fail_count }.to_chain() |
