From 1c507bb9f5ca88a091af6c0cd839ef6386391626 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 3 Oct 2020 11:15:11 -0400 Subject: [PATCH] Try go get lint --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7ae0236..49cae03 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,8 @@ lint:: ## Runs the golangci-lint tool @golangci-lint run install-lint-ci: ## Installs the linter for Travis - @curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.31.0 + @if [ "$(shell command -v golint)" = "" ]; 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 @$(MAKE) godocs