Re-implement tidy as an xtask action

This commit is contained in:
Lukas Wirth 2024-07-07 09:11:46 +02:00
parent e752517814
commit 866102cdaf
12 changed files with 69 additions and 60 deletions

View file

@ -19,6 +19,8 @@ mod install;
mod metrics;
mod publish;
mod release;
mod tidy;
mod util;
use anyhow::bail;
use std::{env, path::PathBuf};
@ -51,6 +53,7 @@ fn main() -> anyhow::Result<()> {
)?;
Ok(())
}
flags::XtaskCmd::Tidy(cmd) => cmd.run(sh),
}
}