Merge pull request #17700 from imalasong/pr/3

Makefile: perfect .PHONY
This commit is contained in:
James Blair 2024-04-03 19:39:21 +02:00 committed by GitHub
commit 557e7f09df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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