From a0bbcefa147d4a110717c387433f67f616c6e413 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 9 May 2019 16:45:26 +0100 Subject: [PATCH] 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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 02c1695e3..86685ad9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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