You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
183 B
Makefile
12 lines
183 B
Makefile
7 years ago
|
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
|
||
|
|