Skip to content

Commit

Permalink
Another attempt to get linter to work
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 3, 2020
1 parent 1c507bb commit 1472750
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ clean: ## Remove previous builds and any test cache data
@test $(DISTRIBUTIONS_DIR)
@if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi

lint:: ## Runs the golangci-lint tool
@golangci-lint run

install-lint-ci: ## Installs the linter for Travis
@if [ "$(shell command -v golint)" = "" ]; then go get -u github.com/golangci/golangci-lint/cmd/golangci-lint; 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
#@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 1472750

Please sign in to comment.