From fbdbff884bfc6d9785b54c38cf7509bb6d9a28a1 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 20 Oct 2018 17:37:55 -0300 Subject: [PATCH] chore: makefile and brew on osx also removed bandep and other now unused things. closes #823 --- Makefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 1aff0316e..a72e4503e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ SOURCE_FILES?=./... TEST_PATTERN?=. TEST_OPTIONS?= -OS=$(shell uname -s) export PATH := ./bin:$(PATH) @@ -9,21 +8,10 @@ export PATH := ./bin:$(PATH) setup: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh curl -sfL https://install.goreleaser.com/github.com/gohugoio/hugo.sh | sh - curl -sfL https://install.goreleaser.com/github.com/caarlos0/bandep.sh | sh -ifeq ($(OS), Darwin) - brew install dep -else - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh -endif + curl -sfL https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep ensure -vendor-only - echo "make check" > .git/hooks/pre-commit - chmod +x .git/hooks/pre-commit .PHONY: setup -check: - bandep --ban github.com/tj/assert -.PHONY: check - # Run all the tests test: go test $(TEST_OPTIONS) -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=2m