Files
echo/Makefile
T

11 lines
312 B
Makefile
Raw Normal View History

2017-06-07 11:10:09 -07:00
dependency:
go get -u github.com/golang/dep/cmd/dep
2017-09-21 12:45:27 -07:00
dep ensure
2017-06-07 11:10:09 -07:00
test:
echo "" > coverage.txt
for d in $(shell go list ./... | grep -v vendor); do \
2017-06-28 19:08:45 -07:00
go test -race -coverprofile=profile.out -covermode=atomic $$d || exit 1; \
2017-06-07 11:10:09 -07:00
[ -f profile.out ] && cat profile.out >> coverage.txt && rm profile.out; \
done