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

18 lines
488 B
Ruby

require 'formula'
class RestShell < Formula
desc "Shell to work with Spring HATEOAS-compliant REST resources"
homepage 'https://github.com/spring-projects/rest-shell'
url 'http://download.gopivotal.com/rest-shell/1.2.1/rest-shell-1.2.1.RELEASE.tar.gz'
version '1.2.1.RELEASE'
sha1 'f1e31f4d3901b001cd958f339240ef04d0b97114'
def install
libexec.install Dir['*']
bin.write_exec_script libexec/'bin/rest-shell'
end
test do
system "#{bin}/rest-shell"
end
end