removed extraneous -e from make output [GH-991]
This commit is contained in:
parent
850b066408
commit
afd2e2d033
9
Makefile
9
Makefile
@ -3,19 +3,20 @@ OK_COLOR=\033[32;01m
|
||||
ERROR_COLOR=\033[31;01m
|
||||
WARN_COLOR=\033[33;01m
|
||||
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||
ECHO=/bin/echo -e
|
||||
|
||||
all: deps
|
||||
@mkdir -p bin/
|
||||
@echo -e "$(OK_COLOR)==> Building$(NO_COLOR)"
|
||||
@$(ECHO) "$(OK_COLOR)==> Building$(NO_COLOR)"
|
||||
@bash --norc -i ./scripts/devcompile.sh
|
||||
|
||||
deps:
|
||||
@echo -e "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
|
||||
@$(ECHO) "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
|
||||
@go get -d -v ./...
|
||||
@echo $(DEPS) | xargs -n1 go get -d
|
||||
|
||||
updatedeps:
|
||||
@echo -e "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
|
||||
@$(ECHO) "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
|
||||
@go get -d -v -u ./...
|
||||
@echo $(DEPS) | xargs -n1 go get -d -u
|
||||
|
||||
@ -26,7 +27,7 @@ format:
|
||||
go fmt ./...
|
||||
|
||||
test: deps
|
||||
@echo -e "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
|
||||
@$(ECHO) "$(OK_COLOR)==> Testing Packer...$(NO_COLOR)"
|
||||
go test ./...
|
||||
|
||||
.PHONY: all clean deps format test updatedeps
|
||||
|
Loading…
x
Reference in New Issue
Block a user