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:
Rob Bradford 2019-05-09 16:45:26 +01:00 committed by Samuel Ortiz
parent a9ed8fa499
commit a0bbcefa14

View File

@ -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