mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
default to max supported php version
This commit is contained in:
parent
009264443f
commit
86a68339b4
5 changed files with 122 additions and 49 deletions
|
|
@ -57,7 +57,7 @@ async fn main() -> Result<ExitCode> {
|
|||
.wrap_err("Failed to connect to docker")?;
|
||||
let config = HazeConfig::load().wrap_err("Failed to load config")?;
|
||||
|
||||
let args = HazeArgs::parse(&config.preset, std::env::args())?;
|
||||
let args = HazeArgs::parse(&config, std::env::args())?;
|
||||
|
||||
match args {
|
||||
HazeArgs::Clean => {
|
||||
|
|
@ -265,7 +265,7 @@ async fn main() -> Result<ExitCode> {
|
|||
cloud.destroy(&docker).await?;
|
||||
}
|
||||
HazeArgs::Fmt { path } => {
|
||||
let cloud = Cloud::create(&docker, CloudOptions::default(), &config).await?;
|
||||
let cloud = Cloud::create(&docker, CloudOptions::new(&config), &config).await?;
|
||||
let mut out_buffer = Vec::<u8>::with_capacity(1024);
|
||||
println!("Waiting for servers to start");
|
||||
cloud.wait_for_start(&docker).await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue