From f5b0004a524fd55a6abd81fb7dbb95a7b3a8ef2c Mon Sep 17 00:00:00 2001 From: Norwin Date: Sun, 13 Dec 2020 02:08:10 +0800 Subject: [PATCH] make install: use vendor dir (#292) make install: use vendor dir Co-authored-by: Norwin Roosen Reviewed-on: https://gitea.com/gitea/tea/pulls/292 Reviewed-by: khmarbaise Reviewed-by: 6543 <6543@obermui.de> Co-Authored-By: Norwin Co-Committed-By: Norwin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 53ad3a6..ada6f14 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ check: test .PHONY: install install: $(wildcard *.go) - $(GO) install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' + $(GO) install -mod=vendor -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' .PHONY: build build: $(EXECUTABLE)