diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2017-07-31 03:29:50 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-07-31 09:29:50 +0800 |
commit | a804f0e052300032e2aa84518f7b4c95736a5718 (patch) | |
tree | 5b55d3ad5a0ad77669e3b4af72d7f89c4a2cb7df /Makefile | |
parent | 119362701471c0cb6bdd1a61ac5701800e97f7bd (diff) | |
download | gitea-a804f0e052300032e2aa84518f7b4c95736a5718.tar.gz gitea-a804f0e052300032e2aa84518f7b4c95736a5718.zip |
go get github.com/wadey/gocovmerge when needed (#2235)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,6 +126,9 @@ test: fmt-check .PHONY: test-coverage test-coverage: unit-test-coverage integration-test-coverage + @hash gocovmerge > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ + go get -u github.com/wadey/gocovmerge; \ + fi for PKG in $(PACKAGES); do\ touch $$GOPATH/src/$$PKG/coverage.out;\ egrep "$$PKG[^/]*\.go" integration.coverage.out > int.coverage.out;\ |