Skip to content

Commit

Permalink
Add bash completion to homebrew formula (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
cblecker authored and jirfag committed Sep 11, 2019
1 parent 4495f89 commit c215cff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Expand Up @@ -67,5 +67,10 @@ brew:
folder: Formula
homepage: https://golangci.com
description: Fast linters runner for Go.
install: |
bin.install "golangci-lint"
output = Utils.popen_read("#{bin}/golangci-lint completion bash")
(bash_completion/"golangci-lint").write output
prefix.install_metafiles
test: |
system "#{bin}/golangci-lint --version"

0 comments on commit c215cff

Please sign in to comment.