Adding formatting script

This commit is contained in:
Tomusdrw 2016-02-16 10:36:15 +01:00
parent f0ef6ed016
commit 771bcb5bda
2 changed files with 12 additions and 1 deletions

12
fmt.sh Executable file
View File

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

View File

@ -1 +0,0 @@
hard_tabs = true