2017-01-23 15:26:28 +00:00
|
|
|
class BoomCompletion < Formula
|
|
|
|
desc "Bash and Zsh completion for Boom"
|
2017-03-12 11:34:31 +00:00
|
|
|
homepage "https://zachholman.com/boom"
|
2017-04-01 06:37:48 +00:00
|
|
|
url "https://github.com/holman/boom/archive/v0.5.0.tar.gz"
|
|
|
|
sha256 "d107accf1fb84d9c245bb25383486179605d3b397c439c2f4690341283b0b2dd"
|
2017-01-23 15:26:28 +00:00
|
|
|
head "https://github.com/holman/boom.git"
|
|
|
|
|
|
|
|
bottle :unneeded
|
|
|
|
|
|
|
|
def install
|
|
|
|
bash_completion.install "completion/boom.bash" => "boom"
|
|
|
|
zsh_completion.install "completion/boom.zsh" => "_boom"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "-F _boom_complete",
|
|
|
|
shell_output("source #{bash_completion}/boom && complete -p boom")
|
|
|
|
end
|
|
|
|
end
|