gradle-completion 1.2.0 (new formula) (#14861)
parent
b4f37068de
commit
8e0f7c481f
|
@ -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
|
Loading…
Reference in New Issue