mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-15 09:58:28 -07:00
Avoid running go vet twice (#18059)
This commit is contained in:
parent
7821370c0b
commit
7be82f4af8
1
Makefile
1
Makefile
@ -239,7 +239,6 @@ fmt:
|
|||||||
.PHONY: vet
|
.PHONY: vet
|
||||||
vet:
|
vet:
|
||||||
@echo "Running go vet..."
|
@echo "Running go vet..."
|
||||||
@$(GO) vet $(GO_PACKAGES)
|
|
||||||
@GOOS= GOARCH= $(GO) build -mod=vendor code.gitea.io/gitea-vet
|
@GOOS= GOARCH= $(GO) build -mod=vendor code.gitea.io/gitea-vet
|
||||||
@$(GO) vet -vettool=gitea-vet $(GO_PACKAGES)
|
@$(GO) vet -vettool=gitea-vet $(GO_PACKAGES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user