mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
xtask: AllCi --failearly option
This commit is contained in:
parent
94cad96829
commit
0cf2efdd2c
1 changed files with 7 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ pub struct Cli {
|
|||
pub enum Commands {
|
||||
/// Run everything CI would
|
||||
#[clap(alias = "ci")]
|
||||
AllCi,
|
||||
AllCi(CiOpt),
|
||||
|
||||
/// Format code
|
||||
#[clap(alias = "fmt")]
|
||||
|
|
@ -495,6 +495,12 @@ pub enum Commands {
|
|||
Book(Arg),
|
||||
}
|
||||
|
||||
#[derive(Args, Debug, Clone, Default)]
|
||||
pub struct CiOpt {
|
||||
#[clap(short, long)]
|
||||
pub failearly: bool,
|
||||
}
|
||||
|
||||
#[derive(Args, Debug, Clone, Default)]
|
||||
pub struct FormatOpt {
|
||||
#[clap(flatten)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue