Files
tigerbrew/Library/Formula/rest-shell.rb
T
Jon Brisbin 9982e8afa8 rest-shell 1.1.4
Closes #15664.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-25 21:20:21 -07:00

21 lines
486 B
Ruby

require 'formula'
class RestShell < Formula
homepage 'https://github.com/SpringSource/rest-shell'
url 'https://github.com/downloads/SpringSource/rest-shell/rest-shell-1.1.4.RELEASE.tar.gz'
version '1.1.4.RELEASE'
sha1 'e34def6696c9c5834eaf5781c1eb8e6ab34ff86f'
def install
libexec.install Dir['*']
(bin/'rest-shell').write <<-EOS.undent
#!/bin/bash
exec "#{libexec}/bin/rest-shell" "$@"
EOS
end
def test
system "#{bin}/rest-shell"
end
end