2013-03-23 03:48:20 -04:00
|
|
|
all:
|
|
|
|
@mkdir -p bin/
|
2013-03-25 17:17:21 -04:00
|
|
|
go get -d -v ./...
|
|
|
|
go build -v -o bin/packer
|
2013-03-23 03:48:20 -04:00
|
|
|
|
2013-03-24 17:47:59 -04:00
|
|
|
format:
|
|
|
|
go fmt ./...
|
|
|
|
|
2013-03-24 17:31:18 -04:00
|
|
|
test:
|
2013-03-25 17:17:21 -04:00
|
|
|
@go list -f '{{range .TestImports}}{{.}}\
|
|
|
|
{{end}}' ./... | xargs -n1 go get -d
|
|
|
|
@go test -i ./...
|
2013-03-24 17:31:18 -04:00
|
|
|
go test ./...
|
|
|
|
|
2013-03-25 17:17:21 -04:00
|
|
|
.PHONY: all format test
|