From 286d01600391e41a12024330b0606c019c4b4f1c Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Tue, 6 Dec 2022 10:38:33 +0100 Subject: [PATCH] chore(tools): add convenience pcc and conformance targets --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b47f84c5a..ef3209b6d 100644 --- a/Makefile +++ b/Makefile @@ -143,6 +143,12 @@ doc: install_rs_check_toolchain cargo "$(CARGO_RS_CHECK_TOOLCHAIN)" doc \ --features=$(TARGET_ARCH_FEATURE),boolean,shortint --no-deps +.PHONY: pcc # pcc stands for pre commit checks +pcc: check_fmt doc clippy_all + +.PHONY: conformance # Automatically fix problems that can be fixed +conformance: fmt + .PHONY: help # Generate list of targets with descriptions help: @grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1\t\2/' | expand -t30 | sort