From 2adcab43947ad4d7dbd49ee7ea711ac5d555977b Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 4 May 2022 00:40:18 +0100 Subject: [PATCH] Add Makefile for command for checking code --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 4b1fc7b6..cbe34492 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,12 @@ docs: test: cargo test --workspace +.PHONY: check +check: + cargo check --workspace + cargo fmt --all -- --check + cargo clippy -- -W warnings + .PHONY: clean clean: cargo clean --workspace