mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
xtask: Add ci/AllCi command
This commit is contained in:
parent
5131474221
commit
0a68825911
2 changed files with 5 additions and 0 deletions
|
|
@ -433,6 +433,10 @@ pub struct Cli {
|
|||
|
||||
#[derive(Debug, Clone, Subcommand)]
|
||||
pub enum Commands {
|
||||
/// Run everything CI would
|
||||
#[clap(alias = "ci")]
|
||||
AllCi,
|
||||
|
||||
/// Format code
|
||||
#[clap(alias = "fmt")]
|
||||
Format(FormatOpt),
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ fn main() -> anyhow::Result<()> {
|
|||
};
|
||||
|
||||
let final_run_results = match &cli.command {
|
||||
Commands::AllCi => {}
|
||||
Commands::Format(args) => cargo_format(globals, &cargologlevel, &args.package, args.check),
|
||||
Commands::Clippy(args) => cargo_clippy(globals, &cargologlevel, args, backend),
|
||||
Commands::Check(args) => cargo(globals, BuildOrCheck::Check, &cargologlevel, args, backend),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue