mirror of
https://github.com/labstack/echo.git
synced 2024-11-30 08:46:41 +02:00
a625e589cf
Signed-off-by: Vishal Rana <vr@labstack.com>
11 lines
312 B
Makefile
11 lines
312 B
Makefile
dependency:
|
|
go get -u github.com/golang/dep/cmd/dep
|
|
dep ensure
|
|
|
|
test:
|
|
echo "" > coverage.txt
|
|
for d in $(shell go list ./... | grep -v vendor); do \
|
|
go test -race -coverprofile=profile.out -covermode=atomic $$d || exit 1; \
|
|
[ -f profile.out ] && cat profile.out >> coverage.txt && rm profile.out; \
|
|
done
|