rest-shell 1.1.2
Closes Homebrew/homebrew#15605. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
9481dfe2f7
commit
aa42885c97
1 changed files with 20 additions and 0 deletions
20
Formula/rest-shell.rb
Normal file
20
Formula/rest-shell.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
require 'formula'
|
||||
|
||||
class RestShell < Formula
|
||||
homepage 'https://github.com/jbrisbin/rest-shell'
|
||||
url 'https://github.com/downloads/jbrisbin/rest-shell/rest-shell-1.1.2.RELEASE.tar.gz'
|
||||
version '1.1.2.RELEASE'
|
||||
sha1 '55fa274283e8e32d12c7ba03406a59eda3ccab34'
|
||||
|
||||
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
|
Loading…
Reference in a new issue