homebrew-core/Formula/grails.rb
Akira Koyasu 16d5e5ac3c grails 3.0.9
Closes Homebrew/homebrew#45240.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-22 11:25:52 +02:00

24 lines
683 B
Ruby

class Grails < Formula
desc "Web application framework for the Groovy language"
homepage "https://grails.org"
url "https://github.com/grails/grails-core/releases/download/v3.0.9/grails-3.0.9.zip"
sha256 "f1bfdec6efd45283c810e29be4433f134118344d2eabea870ae553fb66c864b1"
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
test do
output = shell_output("#{bin}/grails --version")
assert_match /Grails Version: #{version}/, output
end
end