sonar-completion: import from homebrew/completions.
parent
35238f7475
commit
938ecd1a2f
|
@ -0,0 +1,19 @@
|
|||
class SonarCompletion < Formula
|
||||
desc "Bash completion for Sonar"
|
||||
homepage "https://github.com/a1dutch/sonarqube-bash-completion"
|
||||
url "https://github.com/a1dutch/sonarqube-bash-completion/archive/1.0.tar.gz"
|
||||
sha256 "501bb1c87fab9dd934cdc506f12e74ea21d48be72a9e4321c88187e4a0e0a99a"
|
||||
|
||||
head "https://github.com/a1dutch/sonarqube-bash-completion.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
bash_completion.install "etc/bash_completion.d/sonar"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "-F _sonar",
|
||||
shell_output("source #{bash_completion}/sonar && complete -p sonar")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue