diff --git a/fmt.sh b/fmt.sh new file mode 100755 index 000000000..33edc3b0d --- /dev/null +++ b/fmt.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +RUSTFMT="rustfmt --write-mode overwrite" + +$RUSTFMT ./util/src/lib.rs +$RUSTFMT ./ethcore/src/lib.rs +$RUSTFMT ./ethash/src/lib.rs +$RUSTFMT ./rpc/src/lib.rs +$RUSTFMT ./sync/src/lib.rs +$RUSTFMT ./evmjit/src/lib.rs +$RUSTFMT ./parity/main.rs + diff --git a/util/rustfmt.toml b/util/rustfmt.toml deleted file mode 100644 index 218e20321..000000000 --- a/util/rustfmt.toml +++ /dev/null @@ -1 +0,0 @@ -hard_tabs = true