Implemented support for SDKMAN! updates and upgrades (#167)
This commit is contained in:
committed by
Roey Darwish Dror
parent
12fdd326d7
commit
cb180d9c01
12
src/main.rs
12
src/main.rs
@@ -468,6 +468,18 @@ fn run() -> Result<(), Error> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
{
|
||||
if config.should_run(Step::Sdkman) {
|
||||
execute(
|
||||
&mut report,
|
||||
"SDKMAN!",
|
||||
|| unix::run_sdkman(&base_dirs, config.cleanup(), run_type),
|
||||
config.no_retry(),
|
||||
)?;
|
||||
}
|
||||
}
|
||||
|
||||
if !report.data().is_empty() {
|
||||
print_separator("Summary");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user