[FORGEJO] use go vet without any third party addition

This commit is contained in:
Earl Warren 2023-07-13 09:08:21 +02:00
parent a6e6b846ca
commit b876fa3fab
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -104,8 +104,7 @@ test: fmt-check
.PHONY: vet .PHONY: vet
vet: vet:
@echo "Running go vet..." @echo "Running go vet..."
@$(GO) build code.gitea.io/gitea-vet @$(GO) vet $(GO_PACKAGES_TO_VET)
@$(GO) vet -vettool=gitea-vet $(GO_PACKAGES_TO_VET)
install: $(GOFILES) install: $(GOFILES)
$(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' $(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)'