diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-01-19 09:56:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 02:56:10 +0100 |
commit | b4dc080c96a746e00f4b7d6746b4485b1ed8b577 (patch) | |
tree | afc9947a227b1626f2c456c822bdf1dc020aa581 /Makefile | |
parent | b59ed41e81270660e08a18ade5ad09ecd033f905 (diff) | |
download | gitea-b4dc080c96a746e00f4b7d6746b4485b1ed8b577.tar.gz gitea-b4dc080c96a746e00f4b7d6746b4485b1ed8b577.zip |
It seems vet on windows is unnecessary (#14302)
* It seems vet on windows is unnecessary
* add vet back to drone but remove GOOS and GOARCH when build vet
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ fmt: vet: @echo "Running go vet..." @$(GO) vet $(GO_PACKAGES) - @$(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) .PHONY: $(TAGS_EVIDENCE) |