Skip to content

Commit

Permalink
test: correct 'make cover' task to work correctly
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Feb 16, 2017
1 parent 3c72859 commit 89fffba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ test:
done ; \

cover:
echo "mode: set" > profile.cov ; \
echo "" > profile.cov
for package in $(PACKAGES) ; do \
go test -a -coverprofile=tmp.cov gobot.io/x/$$package ; \
cat tmp.cov | grep -v "mode: set" >> profile.cov ; \
cat tmp.cov >> profile.cov ; \
rm tmp.cov ; \
done ; \
rm tmp.cov ; \

robeaux:
ifeq (,$(shell which go-bindata))
Expand Down

0 comments on commit 89fffba

Please sign in to comment.