X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=bootstrap.sh;h=05ac0ce2f306fc4bcf4802242017887b31f8ca9e;hb=832a912f79cf5eda76d60c5b83238bdade21cde0;hp=d3878d9d61c214d79137ce288316a52a82e681b5;hpb=a8692797ae9620b68223f36b52dfbc42c3c6e34e;p=rust.git diff --git a/bootstrap.sh b/bootstrap.sh index d3878d9d61c..05ac0ce2f30 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -6,13 +6,12 @@ cargo build --release -target/release/rustfmt --write-mode=overwrite src/lib.rs -target/release/rustfmt --write-mode=overwrite src/bin/rustfmt.rs -target/release/rustfmt --write-mode=overwrite src/bin/cargo-fmt.rs -target/release/rustfmt --write-mode=overwrite tests/system.rs +target/release/rustfmt src/lib.rs +target/release/rustfmt src/bin/main.rs +target/release/rustfmt src/cargo-fmt/main.rs for filename in tests/target/*.rs; do if ! grep -q "rustfmt-" "$filename"; then - target/release/rustfmt --write-mode=overwrite $filename + target/release/rustfmt $filename fi done