From 1472750e3988c49d704ea00cb2c4694fe8d1219a Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 3 Oct 2020 11:16:52 -0400 Subject: [PATCH] Another attempt to get linter to work --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 49cae03..178b7b4 100644 --- a/Makefile +++ b/Makefile @@ -24,11 +24,8 @@ clean: ## Remove previous builds and any test cache data @test $(DISTRIBUTIONS_DIR) @if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi -lint:: ## Runs the golangci-lint tool - @golangci-lint run - -install-lint-ci: ## Installs the linter for Travis - @if [ "$(shell command -v golint)" = "" ]; then go get -u github.com/golangci/golangci-lint/cmd/golangci-lint; fi +lint:: ## Installs the linter and runs + @if [ "$(shell command -v golangci-lint)" = "" ]; then go get -u github.com/golangci/golangci-lint/cmd/golangci-lint; fi #@curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.31.0 release:: ## Runs common.release then runs godocs