summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStephan Dilly <dilly.stephan@gmail.com>2020-05-22 22:43:47 +0200
committerStephan Dilly <dilly.stephan@gmail.com>2020-05-22 22:43:47 +0200
commit9b1e921af840160f63a82a55108b700f2d9299c0 (patch)
treeb3557736e31da4017438484d1a362a91ee52844e /Makefile
parent43afec3433caa7ec4a5a74bfa5414303c88e0571 (diff)
add fmt check to make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d060bb15..ab9f42cc 100644
--- a/Makefile
+++ b/Makefile
@@ -25,12 +25,14 @@ release-linux-musl:
test:
cargo test --workspace
-clippy:
+check:
+ cargo fmt -- --check
cargo clean -p gitui -p asyncgit -p scopetime
cargo clippy --all-features
-clippy-pedantic:
- cargo clean
+check-pedantic:
+ cargo fmt -- --check
+ cargo clean -p gitui -p asyncgit -p scopetime
cargo clippy --all-features -- -W clippy::pedantic
install: