homebrew-core/Formula/oysttyer.rb
Igor Kapkov 0fe787c0e8 oysttyer 2.10.0
Closes #33675.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2018-11-03 10:50:13 +01:00

21 lines
580 B
Ruby

class Oysttyer < Formula
desc "Command-line Twitter client"
homepage "https://github.com/oysttyer/oysttyer"
url "https://github.com/oysttyer/oysttyer/archive/2.10.0.tar.gz"
sha256 "3c0ce1c7b112f2db496cc75a6e76c67f1cad956f9e7812819c6ae7a979b2baea"
head "https://github.com/oysttyer/oysttyer.git"
bottle :unneeded
def install
bin.install "oysttyer.pl" => "oysttyer"
end
test do
IO.popen("#{bin}/oysttyer", "r+") do |pipe|
assert_equal "-- using SSL for default URLs.", pipe.gets.chomp
pipe.puts "^C"
pipe.close_write
end
end
end