Files
Packer-Cn/Makefile
T

22 lines
454 B
Makefile
Raw Normal View History

2013-06-30 13:13:01 +01:00
NO_COLOR=\033[0m
OK_COLOR=\033[32;01m
ERROR_COLOR=\033[31;01m
WARN_COLOR=\033[33;01m
2013-05-07 11:39:32 -07:00
2013-03-23 00:48:20 -07:00
all:
@mkdir -p bin/
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
@go get -d -v ./...
@echo "$(OK_COLOR)==> Building$(NO_COLOR)"
2013-06-19 22:44:02 -07:00
@./scripts/build.sh
2013-03-23 00:48:20 -07:00
2013-03-24 14:47:59 -07:00
format:
go fmt ./...
2013-03-24 14:31:18 -07:00
test:
@echo "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
2013-07-01 19:25:23 -04:00
@go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs -n1 go get -d
2013-04-20 18:17:44 -06:00
go test ./...
2013-03-24 14:31:18 -07:00
2013-03-25 14:17:21 -07:00
.PHONY: all format test