homebrew-core/Formula/grails.rb
Igor Kapkov 06bbc456d5 grails 4.0.0
Closes #42098.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-07-18 17:04:26 +02:00

24 lines
638 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/v4.0.0/grails-4.0.0.zip"
sha256 "5d17f4ebe6460186a6ddaf9327705e55930cb319f065a8c68adcddc6dec0c08f"
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