mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-17 21:35:20 +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 {
|
pub enum Commands {
|
||||||
/// Run everything CI would
|
/// Run everything CI would
|
||||||
#[clap(alias = "ci")]
|
#[clap(alias = "ci")]
|
||||||
AllCi,
|
AllCi(CiOpt),
|
||||||
|
|
||||||
/// Format code
|
/// Format code
|
||||||
#[clap(alias = "fmt")]
|
#[clap(alias = "fmt")]
|
||||||
|
|
@ -495,6 +495,12 @@ pub enum Commands {
|
||||||
Book(Arg),
|
Book(Arg),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Args, Debug, Clone, Default)]
|
||||||
|
pub struct CiOpt {
|
||||||
|
#[clap(short, long)]
|
||||||
|
pub failearly: bool,
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Args, Debug, Clone, Default)]
|
#[derive(Args, Debug, Clone, Default)]
|
||||||
pub struct FormatOpt {
|
pub struct FormatOpt {
|
||||||
#[clap(flatten)]
|
#[clap(flatten)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue