From 103118b8c9c91787607427f96577c61e3c1a6c4b Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Tue, 11 Mar 2014 11:38:06 -0700 Subject: [PATCH] Pidcat 1.4.1 Closes Homebrew/homebrew#27439. Closes Homebrew/homebrew#23351. Signed-off-by: Adam Vandenberg --- Formula/pidcat.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/pidcat.rb diff --git a/Formula/pidcat.rb b/Formula/pidcat.rb new file mode 100644 index 00000000000..976c88dbcc4 --- /dev/null +++ b/Formula/pidcat.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Pidcat < Formula + homepage 'https://github.com/JakeWharton/pidcat' + url 'https://github.com/JakeWharton/pidcat/archive/1.4.1.tar.gz' + sha1 '89f806ae1fa3375ce188851c8c95fc1097467b82' + head 'https://github.com/JakeWharton/pidcat.git' + + def install + bin.install 'pidcat.py' => 'pidcat' + end + + test do + output = `#{bin}/pidcat --help`.strip + assert_match /^usage: pidcat/, output + end +end