e3b1fc8159
Closes Homebrew/homebrew#27273. Signed-off-by: Brett Koonce <koonce@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.7.zip'
|
|
sha1 '295f37fe989e8b3784258fcc14d2749737d8a2d0'
|
|
|
|
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
|