Skip to content

Commit

Permalink
go get github.com/wadey/gocovmerge when needed (go-gitea#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk authored and lunny committed Jul 31, 2017
1 parent 1193627 commit a804f0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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;\
Expand Down

0 comments on commit a804f0e

Please sign in to comment.