We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4570c04 commit 58c7cceCopy full SHA for 58c7cce
README.tmpl.md
@@ -80,7 +80,9 @@ update if needed.
80
## Local Installation
81
It's a not recommended for your CI pipeline. Only install like this for your local development environment.
82
```bash
83
-go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
+go get -u github.com/golangci/golangci-lint
84
+cd $GOPATH/src/github.com/golangci/golangci-lint/cmd/golangci-lint
85
+go install -ldflags "-X 'main.version=$(git rev-parse --abbrev-ref HEAD)' -X 'main.commit=$(git rev-parse --short HEAD)' -X 'main.date=$(date)'"
86
```
87
88
You can also install it on OSX using brew:
0 commit comments