mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-12-21 13:24:24 +03:00
[FORGEJO] use go vet without any third party addition
This commit is contained in:
parent
a6e6b846ca
commit
b876fa3fab
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