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 1ae2090 commit c721801Copy full SHA for c721801
Makefile
@@ -173,11 +173,11 @@ travis_login:
173
.PHONY: cover
174
cover: profile.out
175
176
-$(COVERPROFILE_LIST): $(SOURCES)
+$(COVERPROFILE_LIST):: $(SOURCES)
177
rm -f $@
178
$(GOCOVER) -ldflags $(LDFLAGS) -coverpkg=./pkg/... -coverprofile=$@ ./$(dir $@)
179
180
-profile.out: $(COVERPROFILE_LIST)
+profile.out:: $(COVERPROFILE_LIST)
181
182
echo "mode: set" > $@
183
cat ./pkg/*/profile.out | grep -v mode: | sort -r | awk '{if($$1 != last) {print $$0;last=$$1}}' >> $@
0 commit comments