packer-cn/Makefile

15 lines
220 B
Makefile

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 ./...
.PHONY: all format test