homebrew-core/Formula/grails.rb
ilovezfs c9a2cd0c8c grails 3.3.3
Closes #24998.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2018-03-08 09:19:29 +01:00

24 lines
640 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.3.3/grails-3.3.3.zip"
sha256 "514aa07db10cf530b283ac90e3e08938fea3eaaf8dfab9307c1cbc2b7768eb20"
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
The GRAILS_HOME directory is:
#{opt_libexec}
EOS
end
test do
assert_match "Grails Version: #{version}", shell_output("#{bin}/grails -v")
end
end