From d159610265becb359b93406d7a01e7df47e108eb Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 11 Sep 2019 13:59:56 +0200 Subject: [PATCH] buildsys: add 'make lint' for now we only activate lints for code that is "outright wrong" Signed-off-by: Wolfgang Bumiller --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7dfbb656..9695a132 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,10 @@ cargo-build: $(COMPILED_BINS): cargo-build +.PHONY: lint +lint: + cargo clippy -- -A clippy::all -D clippy::correctness + install: $(COMPILED_BINS) install -dm755 $(DESTDIR)$(BINDIR) $(foreach i,$(USR_BIN), \ -- 2.39.5