gradle-completion 1.2.0 (new formula) (#14861)

master
John Zeringue 2017-06-24 03:47:15 -04:00 committed by ilovezfs
parent b4f37068de
commit 8e0f7c481f
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
class GradleCompletion < Formula
desc "Bash and Zsh completion for Gradle"
homepage "https://gradle.org/"
url "https://github.com/gradle/gradle-completion/archive/v1.2.0.tar.gz"
sha256 "47c23526d94ac4fa5862ed9d6e3cd4b4704ecb1f880f60827f0d154a7b75392e"
head "https://github.com/gradle/gradle-completion.git"
bottle :unneeded
def install
bash_completion.install "gradle-completion.bash" => "gradle"
zsh_completion.install "_gradle" => "_gradle"
end
test do
assert_match "-F _gradle",
shell_output("bash -c 'source #{bash_completion}/gradle && complete -p gradle'")
end
end