From daf893da616c713de8eeaa6b94d31c7c680324c4 Mon Sep 17 00:00:00 2001 From: imalasong <2879499479@qq.com> Date: Wed, 3 Apr 2024 16:14:34 +0800 Subject: [PATCH] Makefile: perfect .PHONY Signed-off-by: xiaochangbai <704566072@qq.com> --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 180f9def7f8..38bf31c373c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +.PHONY: all all: build include tests/robustness/makefile.mk @@ -61,11 +62,13 @@ fuzz: ./scripts/fuzzing.sh # Static analysis - +.PHONY: verify verify: verify-gofmt verify-bom verify-lint verify-dep verify-shellcheck verify-goword \ verify-govet verify-license-header verify-receiver-name verify-mod-tidy \ verify-shellws verify-proto-annotations verify-genproto verify-yamllint \ verify-govet-shadow verify-markdown-marker + +.PHONY: fix fix: fix-bom fix-lint fix-yamllint ./scripts/fix.sh @@ -178,7 +181,7 @@ bin/lazyfs: cp /tmp/lazyfs/lazyfs/build/lazyfs ./bin/lazyfs # Cleanup - +.PHONY: clean clean: rm -f ./codecov rm -rf ./covdir