summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-05-14 11:33:44 -0400
committerDan Davison <dandavison7@gmail.com>2020-05-14 11:33:44 -0400
commitce80f391c6333bc6c3c5601f00c2fb7d18add2c7 (patch)
treeeec4778a853ccf71f8a03bc8cf02c41cd429fb3b /Makefile
parent94907c0f136f46dc46ffae2dc92dca9af7eb7c2e (diff)
Add `make format` target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 76d2d8ce..57378203 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
build:
cargo build --release
+format:
+ rustfmt src/*.rs
+
lint:
cargo clippy
@@ -32,4 +35,4 @@ benchmark: build
chronologer:
chronologer performance/chronologer.yaml
-.PHONY: build lint test unit-test end-to-end-test release version hash benchmark chronologer
+.PHONY: build format lint test unit-test end-to-end-test release version hash benchmark chronologer