fc48e8442b
Closes #33629. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
24 lines
638 B
Ruby
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/v3.3.8/grails-3.3.8.zip"
|
|
sha256 "c0de7ce97ea156a7fd43e190479814d61ecd91a0399e88fd353526b1a3a2d8c1"
|
|
|
|
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
|