homebrew-core/Formula/pidcat.rb
2015-10-23 20:23:15 +08:00

18 lines
573 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.0.0.tar.gz"
sha256 "4bb3d7bab7e124e355892ee9cf87de1d6f39bea201b03fce6449ca2486470656"
head "https://github.com/JakeWharton/pidcat.git"
bottle :unneeded
def install
bin.install "pidcat.py" => "pidcat"
bash_completion.install "bash_completion.d/pidcat"
end
test do
assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip
end
end