[FORGEJO] use go vet without any third party addition
This commit is contained in:
parent
91cf33f75d
commit
e6f0b3b5b8
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -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)'
|
||||||
|
|
Loading…
Reference in a new issue