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.2.2.zip'
sha1 '09a0ee9791cd679203016022d20ce7163a5465b1'
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