mirror of https://github.com/hashicorp/consul
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
|
||
|
|