Skip to content

Commit

Permalink
Add missing vet make target
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan authored and guvenc committed Oct 5, 2023
1 parent 82ab03d commit 8e701cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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' {} +
Expand Down

0 comments on commit 8e701cd

Please sign in to comment.