homebrew-core/Formula/grails.rb

21 lines
500 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.3.zip'
sha1 '9ffddb70ec3555271358d1c85aa86547f8f5884d'
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:
#{opt_prefix}/libexec
EOS
end
end