From 8e701cdc9146716a59a9bd6c5e6a40db12a71bf7 Mon Sep 17 00:00:00 2001 From: Damyan Yordanov Date: Wed, 4 Oct 2023 12:07:16 +0200 Subject: [PATCH] Add missing `vet` make target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index d6b64239..744079ee 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,10 @@ addlicense: ## Add license headers to all go files. fmt: ## Run go fmt against code. go fmt ./... +.PHONY: vet +vet: ## Run go vet against code. + go vet ./... + .PHONY: checklicense checklicense: ## Check that every file has a license header present. find . -name '*.go' -exec go run github.com/google/addlicense -check -c 'OnMetal authors' {} +