homebrew-core/Formula/grails.rb

21 lines
493 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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"]
2012-11-11 19:20:09 +00:00
prefix.install_metafiles
libexec.install Dir['*']
2012-02-12 21:51:21 +00:00
bin.install_symlink Dir["#{libexec}/bin/*"]
end
2012-02-12 21:57:05 +00:00
def caveats; <<-EOS.undent
2013-06-11 20:33:47 +00:00
The GRAILS_HOME directory is:
2014-03-06 05:28:31 +00:00
#{opt_libexec}
EOS
end
end