aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-19 09:56:10 +0800
committerGitHub <noreply@github.com>2021-01-19 02:56:10 +0100
commitb4dc080c96a746e00f4b7d6746b4485b1ed8b577 (patch)
treeafc9947a227b1626f2c456c822bdf1dc020aa581 /Makefile
parentb59ed41e81270660e08a18ade5ad09ecd033f905 (diff)
downloadgitea-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc8faf817d..4e03581785 100644
--- a/Makefile
+++ b/Makefile
@@ -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)