Skip to content

Commit

Permalink
Trying to make travis happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 3, 2020
1 parent 0957f53 commit 718281f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .make/Makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 718281f

Please sign in to comment.