homebrew-core/Formula/grails.rb
Chris Nuccitelli c17b99cf9f grails 3.0.1
Closes Homebrew/homebrew#38305.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-02 19:00:47 +01:00

20 lines
519 B
Ruby

require 'formula'
class Grails < Formula
homepage 'https://grails.org'
url 'https://github.com/grails/grails-core/releases/download/v3.0.1/grails-3.0.1.zip'
sha256 'c58da97ad7fb9635c6fb5631755501b97d6ce9ee6668dc12f0722928ffa5abee'
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_libexec}
EOS
end
end