homebrew-core/Formula/pidcat.rb
yyar 1d3bd2acfb pidcat : add zsh-completion
Closes #9704.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-07 10:16:41 +01:00

19 lines
625 B
Ruby

class Pidcat < Formula
desc "Colored logcat script to show entries only for specified app"
homepage "https://github.com/JakeWharton/pidcat"
url "https://github.com/JakeWharton/pidcat/archive/2.1.0.tar.gz"
sha256 "e6f999ee0f23f0e9c9aee5ad21c6647fb1a1572063bdccd16a72464c8b522cb1"
head "https://github.com/JakeWharton/pidcat.git"
bottle :unneeded
def install
bin.install "pidcat.py" => "pidcat"
bash_completion.install "bash_completion.d/pidcat"
zsh_completion.install "zsh-completion/_pidcat"
end
test do
assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip
end
end