mirror of https://github.com/status-im/consul.git
12 lines
183 B
Makefile
12 lines
183 B
Makefile
|
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||
|
|
||
|
.PHONY: test deps
|
||
|
|
||
|
test:
|
||
|
go test -timeout=30s ./...
|
||
|
|
||
|
deps:
|
||
|
go get -d -v ./...
|
||
|
echo $(DEPS) | xargs -n1 go get -d
|
||
|
|