e3fab81a39
Closes Homebrew/homebrew#31283. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
20 lines
493 B
Ruby
20 lines
493 B
Ruby
require 'formula'
|
|
|
|
class Grails < Formula
|
|
homepage 'http://grails.org'
|
|
url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.4.3.zip'
|
|
sha1 '729cc9f2493960c3a644f29208d3b8a8f31275be'
|
|
|
|
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_libexec}
|
|
EOS
|
|
end
|
|
end
|