summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-04-04 16:45:26 +0800
committerGitHub <noreply@github.com>2020-04-04 11:45:26 +0300
commitb264c303945716d95dca41a11fe89ab567bddef3 (patch)
tree3f6cfc712d433c31f074e40968c8e0e06c06544a /Makefile
parent14c97c05019d416d634ad486c03674a2b9af92ef (diff)
downloadgitea-b264c303945716d95dca41a11fe89ab567bddef3.tar.gz
gitea-b264c303945716d95dca41a11fe89ab567bddef3.zip
Move gocovmerge as vendor (#10947)
* Move gocovmerge as vendor * Update Makefile Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c78be87558..8a67551094 100644
--- a/Makefile
+++ b/Makefile
@@ -293,10 +293,7 @@ test\#%:
.PHONY: coverage
coverage:
- @hash gocovmerge > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/wadey/gocovmerge; \
- fi
- gocovmerge integration.coverage.out $(shell find . -type f -name "coverage.out") > coverage.all;\
+ GO111MODULE=on $(GO) run -mod=vendor build/gocovmerge.go integration.coverage.out $(shell find . -type f -name "coverage.out") > coverage.all
.PHONY: unit-test-coverage
unit-test-coverage: