mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
21 lines
478 B
Ruby
21 lines
478 B
Ruby
require 'formula'
|
|
|
|
class RestShell < Formula
|
|
homepage 'https://github.com/jbrisbin/rest-shell'
|
|
url 'https://github.com/downloads/jbrisbin/rest-shell/rest-shell-1.1.3.RELEASE.tar.gz'
|
|
version '1.1.3.RELEASE'
|
|
sha1 '0d43e99fabae72b068a09955053793ae4164c099'
|
|
|
|
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
|