1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-23 14:45:07 +00:00

feat: detect multiple NDK and Rust toolchain versions (#234)

Add report-only detection for multiple Android NDK and Rust toolchain
installations. Users receive helpful guidance for manual cleanup via
Android Studio SDK Manager or rustup commands.

- Add check_android_ndk() and check_rust_toolchains()
- Extract check_multiple_versions() helper (DRY)
- Add 4 test cases, optimize test performance
- Fix shellcheck warnings

All 393 tests passing.
This commit is contained in:
Tw93
2026-01-13 15:59:43 +08:00
parent 5b51007c3f
commit 0bd30955a2
3 changed files with 84 additions and 14 deletions

View File

@@ -83,6 +83,8 @@ clean_project_caches() { :; }
clean_dev_python() { :; }
clean_dev_go() { :; }
clean_dev_rust() { :; }
check_rust_toolchains() { :; }
check_android_ndk() { :; }
clean_dev_docker() { :; }
clean_dev_cloud() { :; }
clean_dev_nix() { :; }
@@ -96,6 +98,10 @@ clean_dev_database() { :; }
clean_dev_api_tools() { :; }
clean_dev_network() { :; }
clean_dev_misc() { :; }
clean_dev_elixir() { :; }
clean_dev_haskell() { :; }
clean_dev_ocaml() { :; }
clean_dev_editors() { :; }
safe_clean() { :; }
debug_log() { :; }
clean_developer_tools