]> git.lizzy.rs Git - rust.git/blobdiff - bootstrap.sh
Honor `#[rustfmt::skip::attributes(derive)]` attribute
[rust.git] / bootstrap.sh
index d3878d9d61c214d79137ce288316a52a82e681b5..05ac0ce2f306fc4bcf4802242017887b31f8ca9e 100755 (executable)
@@ -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