homebrew-core/Formula/grails.rb
Christian-Manuel Butzke 05b68c1133 grails 3.0.12
Closes Homebrew/homebrew#48501.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-27 12:49:07 +01:00

25 lines
676 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.12/grails-3.0.12.zip"
sha256 "d3b0cf0966a42e3e76ecac593e81c96655b222fa2cc5b5940d1842c8a4753c11"
bottle :unneeded
def install
rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
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