go-watchdog/vendor/github.com/labstack/echo/Makefile

11 lines
310 B
Makefile
Raw Normal View History

2019-06-25 01:57:21 +00:00
dependency:
go get -u github.com/golang/dep/cmd/dep
dep ensure -update
test:
echo "" > coverage.txt
for d in $(shell go list ./... | grep -v vendor); do \
go test -race -coverprofile=profile.out -covermode=atomic $$d; \
[ -f profile.out ] && cat profile.out >> coverage.txt && rm profile.out; \
done