Merge pull request #991 from berendt/fixing-colored-output-of-makefile
fixing colored output of Makefile
This commit is contained in:
commit
57c3b8d9b9
8
Makefile
8
Makefile
|
@ -6,16 +6,16 @@ DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||||
|
|
||||||
all: deps
|
all: deps
|
||||||
@mkdir -p bin/
|
@mkdir -p bin/
|
||||||
@echo "$(OK_COLOR)==> Building$(NO_COLOR)"
|
@echo -e "$(OK_COLOR)==> Building$(NO_COLOR)"
|
||||||
@bash --norc -i ./scripts/devcompile.sh
|
@bash --norc -i ./scripts/devcompile.sh
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
|
@echo -e "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
|
||||||
@go get -d -v ./...
|
@go get -d -v ./...
|
||||||
@echo $(DEPS) | xargs -n1 go get -d
|
@echo $(DEPS) | xargs -n1 go get -d
|
||||||
|
|
||||||
updatedeps:
|
updatedeps:
|
||||||
@echo "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
|
@echo -e "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
|
||||||
@go get -d -v -u ./...
|
@go get -d -v -u ./...
|
||||||
@echo $(DEPS) | xargs -n1 go get -d -u
|
@echo $(DEPS) | xargs -n1 go get -d -u
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ format:
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
|
|
||||||
test: deps
|
test: deps
|
||||||
@echo "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
|
@echo -e "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
.PHONY: all clean deps format test updatedeps
|
.PHONY: all clean deps format test updatedeps
|
||||||
|
|
Loading…
Reference in New Issue