Implemented support for SDKMAN! updates and upgrades (#167)

This commit is contained in:
Elton Lika
2019-06-13 12:19:47 +02:00
committed by Roey Darwish Dror
parent 12fdd326d7
commit cb180d9c01
3 changed files with 63 additions and 0 deletions

View File

@@ -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");