a0d7c937e6
Closes Homebrew/homebrew#24570. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
20 lines
500 B
Ruby
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.3.zip'
|
|
sha1 '9ffddb70ec3555271358d1c85aa86547f8f5884d'
|
|
|
|
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
|