2
1
mirror of https://github.com/therootcompany/serviceman.git synced 2025-04-20 14:21:04 +00:00
2019-07-01 02:44:54 -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