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