spring-completion: import from homebrew/completions.

This commit is contained in:
Mike McQuaid 2017-01-23 15:26:31 +00:00
parent 938ecd1a2f
commit b5991489a1

View file

@ -0,0 +1,18 @@
class SpringCompletion < Formula
desc "Bash completion for Spring"
homepage "https://github.com/jacaetevha/spring_bash_completion"
url "https://github.com/jacaetevha/spring_bash_completion/archive/v0.0.1.tar.gz"
sha256 "a97b256dbdaca894dfa22bd96a6705ebf4f94fa8206d05f41927f062c3dd60bf"
head "https://github.com/jacaetevha/spring_bash_completion.git"
bottle :unneeded
def install
bash_completion.install "spring.bash" => "spring"
end
test do
assert_match "-F _spring",
shell_output("source #{bash_completion}/spring && complete -p spring")
end
end