summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2020-04-05 00:35:02 -0300
committerGitHub <noreply@github.com>2020-04-05 11:35:02 +0800
commitb74d30ae275b4f025f689efca748dd0cbd826b22 (patch)
tree54e04add22ee0d113a96431843f9bc9451809dee /Makefile
parent6cf71ee0e8178a2775d2d1041912ca45372805fb (diff)
downloadgitea-b74d30ae275b4f025f689efca748dd0cbd826b22.tar.gz
gitea-b74d30ae275b4f025f689efca748dd0cbd826b22.zip
Prevent support libraries from compiling into Gitea (#10964)
* Prevent support libraries from compiling into Gitea * Fix tag position * Fix golangci-lint errors * Refactor to make it work Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9663e8b6dd..7af41ab74b 100644
--- a/Makefile
+++ b/Makefile
@@ -301,7 +301,7 @@ unit-test-coverage:
.PHONY: vendor
vendor:
- $(GO) mod tidy && $(GO) mod vendor
+ $(GO) mod tidy && TAGS="$(TAGS) vendor" $(GO) mod vendor
.PHONY: test-vendor
test-vendor: vendor