rake-completion: import from homebrew/completions.
parent
1167cd2424
commit
7916adfa2a
|
@ -0,0 +1,16 @@
|
||||||
|
class RakeCompletion < Formula
|
||||||
|
desc "Bash completion for Rake"
|
||||||
|
homepage "https://github.com/MasterRoot24/rake-completion"
|
||||||
|
url "https://github.com/MasterRoot24/rake-completion/archive/v1.0.0.tar.gz"
|
||||||
|
sha256 "2d619d0d1d8052994011209c62f926b9e41d45e9268da4b9858fa45911b04cd1"
|
||||||
|
bottle :unneeded
|
||||||
|
|
||||||
|
def install
|
||||||
|
bash_completion.install "rake.sh" => "rake"
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
assert_match "-F _rakecomplete",
|
||||||
|
shell_output("source #{bash_completion}/rake && complete -p rake")
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue