boot2docker-completion: import from homebrew/completions.

This commit is contained in:
Mike McQuaid 2017-01-23 15:26:28 +00:00
parent f08bbcbef3
commit d62f59ded6

View file

@ -0,0 +1,18 @@
class Boot2dockerCompletion < Formula
desc "Bash completion for Boot2docker"
homepage "https://github.com/alexandregz/boot2docker-completion"
url "https://github.com/alexandregz/boot2docker-completion/archive/1.0.tar.gz"
sha256 "51d162ed4f890f9d702a215d11a2564ec44baebc38ede49f75f9b36521d856fb"
head "https://github.com/alexandregz/boot2docker-completion.git"
bottle :unneeded
def install
bash_completion.install "boot2docker-completion.bash"
end
test do
assert_match "-F _boot2docker",
shell_output("source #{bash_completion}/boot2docker-completion.bash && complete -p boot2docker")
end
end