all:
@mkdir -p bin/
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 ./... 2>/dev/null
.PHONY: all format test