Skip to content

Commit

Permalink
Hmm another try on installing the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 3, 2020
1 parent 6b257fa commit 8420e9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8420e9b

Please sign in to comment.