Makefile to grab test dependencies
This commit is contained in:
parent
bde32e964f
commit
791e048268
9
Makefile
9
Makefile
|
@ -1,12 +1,15 @@
|
||||||
all:
|
all:
|
||||||
@mkdir -p bin/
|
@mkdir -p bin/
|
||||||
go get -d ./...
|
go get -d -v ./...
|
||||||
go build -a -o bin/packer
|
go build -v -o bin/packer
|
||||||
|
|
||||||
format:
|
format:
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
@go list -f '{{range .TestImports}}{{.}}\
|
||||||
|
{{end}}' ./... | xargs -n1 go get -d
|
||||||
|
@go test -i ./...
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
.PHONY: all test
|
.PHONY: all format test
|
||||||
|
|
Loading…
Reference in New Issue