diff options
Diffstat (limited to 'Library/Formula/pidcat.rb')
| -rw-r--r-- | Library/Formula/pidcat.rb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Library/Formula/pidcat.rb b/Library/Formula/pidcat.rb index 976c88dbc..8c3c47167 100644 --- a/Library/Formula/pidcat.rb +++ b/Library/Formula/pidcat.rb @@ -1,17 +1,16 @@ -require 'formula' +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' + 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 - bin.install 'pidcat.py' => 'pidcat' + bin.install "pidcat.py" => "pidcat" end test do - output = `#{bin}/pidcat --help`.strip - assert_match /^usage: pidcat/, output + assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip end end |
