summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-03-22 09:23:30 -0400
committerDan Davison <dandavison7@gmail.com>2021-03-22 09:23:30 -0400
commite7d3870529356a394d1d784f74050bf198433b1e (patch)
tree27494ba6310f0e27e16fd16bd2efc0870fadd8d4
parent68296840fa03d229717e9a8451561f3a4510de7f (diff)
Make target: run rustfmt on all rust code
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c534338f..b0d9684b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ build:
cargo build --release
format:
- rustfmt src/*.rs
+ git ls-files | grep '\.rs$' | xargs -P 0 rustfmt
lint:
cargo clippy