From 8420e9b31619a9494a43cfb9a0e2a2959162b311 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 3 Oct 2020 11:22:52 -0400 Subject: [PATCH] Hmm another try on installing the linter --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 178b7b4..4798adf 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,8 @@ clean: ## Remove previous builds and any test cache data @if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); 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 + @if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.23.8; fi + @golangci-lint #@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