homebrew-core/Formula/repl.rb
2015-06-05 14:47:57 +01:00

17 lines
436 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"
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