homebrew-core/Formula/pidcat.rb

17 lines
421 B
Ruby
Raw Normal View History

2014-05-04 19:12:41 +00:00
require "formula"
class Pidcat < Formula
2014-05-04 19:12:41 +00:00
homepage "https://github.com/JakeWharton/pidcat"
head "https://github.com/JakeWharton/pidcat.git"
url "https://github.com/JakeWharton/pidcat/archive/1.4.1.tar.gz"
sha1 "89f806ae1fa3375ce188851c8c95fc1097467b82"
def install
2014-05-04 19:12:41 +00:00
bin.install "pidcat.py" => "pidcat"
end
test do
2014-05-04 19:12:41 +00:00
assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip
end
end