homebrew-core/Formula/grails.rb
Danny Casady 6f15b3887f grails 2.3.6
Closes Homebrew/homebrew#26817.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-02-18 16:38:20 -06:00

20 lines
500 B
Ruby

require 'formula'
class Grails < Formula
homepage 'http://grails.org'
url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.3.6.zip'
sha1 '9f09b73e7f357ce8bf7938590da0a91cbd849ca1'
def install
rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
prefix.install_metafiles
libexec.install Dir['*']
bin.install_symlink Dir["#{libexec}/bin/*"]
end
def caveats; <<-EOS.undent
The GRAILS_HOME directory is:
#{opt_prefix}/libexec
EOS
end
end