diff --git a/.make/Makefile.go b/.make/Makefile.go index 7e03ce5..2f31537 100644 --- a/.make/Makefile.go +++ b/.make/Makefile.go @@ -41,7 +41,8 @@ install-go: ## Install the application (Using Native Go) @go install $(GIT_DOMAIN)/$(REPO_OWNER)/$(REPO_NAME) lint: ## Run the golangci-lint application (install if not found) - @if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0; fi; + #@if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0; fi; + @if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.31.0 && sudo cp ./bin/golangci-lint $GOPATH/bin/; fi; @echo "running golangci-lint..." @golangci-lint run