repl: test added
Closes Homebrew/homebrew#39157. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
2e0621ec0c
commit
843063a01e
1 changed files with 10 additions and 8 deletions
|
@ -1,14 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Repl < Formula
|
||||
homepage 'https://github.com/defunkt/repl'
|
||||
url 'https://github.com/defunkt/repl/archive/v1.0.0.tar.gz'
|
||||
sha1 'd47d31856a0c474daf54707d1575b45f01ef5cda'
|
||||
homepage "https://github.com/defunkt/repl"
|
||||
url "https://github.com/defunkt/repl/archive/v1.0.0.tar.gz"
|
||||
sha256 "d0542404f03159b0d6eb22a1aa4a509714c87c8594fca5121c578d50d950307d"
|
||||
|
||||
depends_on 'rlwrap' => :optional
|
||||
depends_on "rlwrap" => :optional
|
||||
|
||||
def install
|
||||
bin.install 'bin/repl'
|
||||
man1.install 'man/repl.1'
|
||||
bin.install "bin/repl"
|
||||
man1.install "man/repl.1"
|
||||
end
|
||||
|
||||
test do
|
||||
pipe_output("#{bin}/repl git", "init", 0)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue