1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

allow using release sources

This commit is contained in:
Robin Appelman 2026-02-27 22:01:44 +01:00
commit f569ca17e2
9 changed files with 1226 additions and 113 deletions

View file

@ -103,13 +103,18 @@ async fn main() -> Result<ExitCode> {
services.push(cloud.db().name());
let services = services.join(", ");
let pin = if cloud.pinned { "*" } else { "" };
let version = match cloud.options.version.as_ref() {
Some(version) => format!(", v{version}"),
None => String::new(),
};
println!(
"Cloud {}{}, {}, {}, running on {}",
"Cloud {}{}, {}, {}{}, running on {}",
cloud.id,
pin,
cloud.php().name(),
services,
cloud.address
version,
cloud.address,
);
}
}