diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-20 00:51:17 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-20 00:51:44 +0800 |
| commit | 8749087c5035fbe4c0dce0893a39e0e2265fa130 (patch) | |
| tree | 7c759374f3dde5df40f0be17cf6abe18c12a3f07 /dev_tools/scripts/test-all.sh | |
| parent | be586e42eadc1185e8bf0b1088bc978cec81b33e (diff) | |
Update test-all.sh
Diffstat (limited to 'dev_tools/scripts/test-all.sh')
| -rw-r--r-- | dev_tools/scripts/test-all.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev_tools/scripts/test-all.sh b/dev_tools/scripts/test-all.sh new file mode 100644 index 0000000..b387463 --- /dev/null +++ b/dev_tools/scripts/test-all.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +find . -name "Cargo.toml" -type f | while read -r cargo_file; do + project_dir=$(dirname "$cargo_file") + (cd "$project_dir" && cargo test) +done |
