mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
xtask: check and clippy, test without target
This commit is contained in:
parent
e671981ae2
commit
c4ee8e8f02
1 changed files with 4 additions and 4 deletions
|
@ -194,7 +194,7 @@ impl<'a> CargoCommand<'a> {
|
||||||
CargoCommand::Check {
|
CargoCommand::Check {
|
||||||
cargoarg,
|
cargoarg,
|
||||||
package,
|
package,
|
||||||
target,
|
target: _,
|
||||||
features,
|
features,
|
||||||
mode,
|
mode,
|
||||||
} => {
|
} => {
|
||||||
|
@ -202,7 +202,7 @@ impl<'a> CargoCommand<'a> {
|
||||||
if let Some(cargoarg) = cargoarg {
|
if let Some(cargoarg) = cargoarg {
|
||||||
args.extend_from_slice(&[cargoarg]);
|
args.extend_from_slice(&[cargoarg]);
|
||||||
}
|
}
|
||||||
args.extend_from_slice(&[self.name(), "--target", target]);
|
args.extend_from_slice(&[self.name()]);
|
||||||
|
|
||||||
if let Some(package) = package {
|
if let Some(package) = package {
|
||||||
args.extend_from_slice(&["--package", package.name()]);
|
args.extend_from_slice(&["--package", package.name()]);
|
||||||
|
@ -219,7 +219,7 @@ impl<'a> CargoCommand<'a> {
|
||||||
CargoCommand::Clippy {
|
CargoCommand::Clippy {
|
||||||
cargoarg,
|
cargoarg,
|
||||||
package,
|
package,
|
||||||
target,
|
target: _,
|
||||||
features,
|
features,
|
||||||
} => {
|
} => {
|
||||||
let mut args = vec!["+nightly"];
|
let mut args = vec!["+nightly"];
|
||||||
|
@ -227,7 +227,7 @@ impl<'a> CargoCommand<'a> {
|
||||||
args.extend_from_slice(&[cargoarg]);
|
args.extend_from_slice(&[cargoarg]);
|
||||||
}
|
}
|
||||||
|
|
||||||
args.extend_from_slice(&[self.name(), "--target", target]);
|
args.extend_from_slice(&[self.name()]);
|
||||||
|
|
||||||
if let Some(package) = package {
|
if let Some(package) = package {
|
||||||
args.extend_from_slice(&["--package", package.name()]);
|
args.extend_from_slice(&["--package", package.name()]);
|
||||||
|
|
Loading…
Reference in a new issue