homebrew-core/Formula/grails.rb
Danny Kruitbosch 5bd8a05bc8 grails 2.3.1
Closes Homebrew/homebrew#23344.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-18 12:06:30 +01: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.1.zip'
sha1 '11f74f9ce56efc57d5094382bdea0c72c38e59a8'
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