We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e7c4a commit 83c9a83Copy full SHA for 83c9a83
Makefile
@@ -138,14 +138,7 @@ coverage:
138
@hash gocovmerge > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
139
$(GO) get -u github.com/wadey/gocovmerge; \
140
fi
141
- echo "mode: set" > coverage.all
142
- for PKG in $(PACKAGES); do\
143
- echo "mode: set" > pkg_integration.coverage.out;\
144
- egrep "$$PKG/[^/]*\.go" integration.coverage.out >> pkg_integration.coverage.out;\
145
- gocovmerge $$GOPATH/src/$$PKG/coverage.out pkg_integration.coverage.out\
146
- | grep -h -v "^mode:" >> coverage.all;\
147
- rm pkg_integration.coverage.out;\
148
- done;
+ gocovmerge integration.coverage.out $(shell find . -type f -name "coverage.out") > coverage.all;\
149
150
.PHONY: unit-test-coverage
151
unit-test-coverage:
0 commit comments