cloud-hypervisor: Recursively run rustfmt
"cargo fmt --all -- check" does not check all the other crates in the repository so replace this with a find command. In the long term it might be appropriate to use a cargo workspace to solve this problem. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
a9ed8fa499
commit
a0bbcefa14
1 changed files with 1 additions and 1 deletions
|
|
@ -11,4 +11,4 @@ script:
|
|||
- cargo build --release
|
||||
- cargo test
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
- cargo fmt --all -- --check
|
||||
- find . -name "*.rs" | xargs rustfmt --check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue