mirror of https://code.forgejo.org/forgejo/runner
[FORGEJO] use go vet without any third party addition
parent
91cf33f75d
commit
e6f0b3b5b8
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 New Issue