From d19513588214155dc35c7fd5627a03b0b419a41e Mon Sep 17 00:00:00 2001 From: max furman Date: Mon, 16 Sep 2019 23:04:34 -0700 Subject: [PATCH] Change shell to default(sh) and remove vtest (unused) --- Makefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Makefile b/Makefile index b3734e53..edd8c3f7 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,6 @@ SRC=$(shell find . -type f -name '*.go' -not -path "./vendor/*") GOOS_OVERRIDE ?= OUTPUT_ROOT=output/ -# Set shell to bash for `echo -e` -SHELL := /bin/bash - all: build test lint .PHONY: all @@ -97,16 +94,7 @@ generate: test: $Q $(GOFLAGS) go test -short -coverprofile=coverage.out ./... -vtest: - $(Q)for d in $$(go list ./... | grep -v vendor); do \ - echo -e "TESTS FOR: for \033[0;35m$$d\033[0m"; \ - $(GOFLAGS) go test -v -bench=. -run=. -short -coverprofile=vcoverage.out $$d; \ - out=$$?; \ - if [[ $$out -ne 0 ]]; then ret=$$out; fi;\ - rm -f profile.coverage.out; \ - done; exit $$ret; - -.PHONY: test vtest +.PHONY: test integrate: integration