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.4.4.zip'
sha1 'db2285d4a803b976753f28f5cb38c5a66c711600'
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