1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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>
This commit is contained in:
guillep2k
2020-04-05 00:35:02 -03:00
committed by GitHub
parent 6cf71ee0e8
commit b74d30ae27
3 changed files with 7 additions and 5 deletions

View File

@@ -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