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

Makefile to grab test dependencies

parent bde32e96
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
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