homebrew-core/Formula/repl.rb

20 lines
456 B
Ruby

class Repl < Formula
desc "Wrap non-interactive programs with a REPL"
homepage "https://github.com/defunkt/repl"
url "https://github.com/defunkt/repl/archive/v1.0.0.tar.gz"
sha256 "d0542404f03159b0d6eb22a1aa4a509714c87c8594fca5121c578d50d950307d"
bottle :unneeded
depends_on "rlwrap" => :optional
def install
bin.install "bin/repl"
man1.install "man/repl.1"
end
test do
pipe_output("#{bin}/repl git", "init", 0)
end
end