2
0
mirror of https://git.coolaj86.com/coolaj86/go-watchdog.git synced 2025-12-25 05:38:41 +00:00
2019-06-24 20:00:11 -06:00

11 lines
310 B
Makefile

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