Commit 791e0482 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Makefile to grab test dependencies

parent bde32e96
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment