95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
16 lines
553 B
Ruby
16 lines
553 B
Ruby
class Pidcat < Formula
|
|
desc "Colored logcat script to show entries only for specified app"
|
|
homepage "https://github.com/JakeWharton/pidcat"
|
|
head "https://github.com/JakeWharton/pidcat.git"
|
|
url "https://github.com/JakeWharton/pidcat/archive/2.0.0.tar.gz"
|
|
sha256 "4bb3d7bab7e124e355892ee9cf87de1d6f39bea201b03fce6449ca2486470656"
|
|
|
|
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
|