diff --git a/Makefile b/Makefile index b3c2e12e1..36fec732e 100644 --- a/Makefile +++ b/Makefile @@ -20,13 +20,12 @@ gqlgen: # Runs gofmt -w on the project's source code, modifying any files that do not match its style. .PHONY: fmt fmt: - go list ./... | grep -v vendor | xargs go fmt + go fmt ./... # Runs go vet on the project's source code. -# https://stackoverflow.com/questions/40531874/how-to-make-go-linters-ignore-vendor .PHONY: vet vet: - go list ./... | grep -v vendor | xargs go vet + go vet ./... .PHONY: lint lint: