cap-completion: import from homebrew/completions.
This commit is contained in:
parent
5e77320b9f
commit
643680698e
1 changed files with 15 additions and 0 deletions
15
Formula/cap-completion.rb
Normal file
15
Formula/cap-completion.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
class CapCompletion < Formula
|
||||
desc "Bash completion for Capistrano"
|
||||
homepage "https://github.com/bashaus/capistrano-autocomplete"
|
||||
url "https://github.com/bashaus/capistrano-autocomplete/archive/v1.0.0.tar.gz"
|
||||
sha256 "66a94420be44d82ff18f366778e05decde3f16ad05d35fd8ec7b51860b102c0c"
|
||||
|
||||
def install
|
||||
bash_completion.install "cap"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "-F _cap",
|
||||
shell_output("source #{bash_completion}/cap && complete -p cap")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue