Skip to content

Commit

Permalink
Try go get lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 3, 2020
1 parent de1857e commit 1c507bb
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 @@ -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
Expand Down

0 comments on commit 1c507bb

Please sign in to comment.