Skip to content

Commit

Permalink
Install golangci-lint with remote install script
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweig committed May 10, 2019
1 parent 00f4513 commit e793c5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 390 deletions.
389 changes: 0 additions & 389 deletions hack/install_golangci-lint.sh

This file was deleted.

2 changes: 1 addition & 1 deletion hack/run_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ HACK=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
if ! [[ -x "$GOPATH/bin/golangci-lint" ]]
then
echo 'Installing golangci-lint'
"${HACK}"/install_golangci-lint.sh -b "$GOPATH/bin" v1.16.0
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b "$GOPATH/bin" v1.16.0
fi

"$GOPATH/bin/golangci-lint" run \
Expand Down

0 comments on commit e793c5d

Please sign in to comment.