homebrew-core/Formula/grails.rb
ilovezfs d44f543166 grails 3.2.2
Closes #6328.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-10-28 10:38:54 +02:00

24 lines
647 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.2.2/grails-3.2.2.zip"
sha256 "62134e359d13d59401fe93f7a30c32d6a3a68943fd2ca8fc483f4a69cc0bb03f"
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
assert_match "Grails Version: #{version}", shell_output("#{bin}/grails -v")
end
end