homebrew-core/Formula/grails.rb
ilovezfs 0b73421f50 grails 3.2.5
Closes #9558.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-02 15:37:33 +01: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.5/grails-3.2.5.zip"
sha256 "43dc220d566a6f24a2a6d36616e63fc496499a0c95f0732a651fa81734b66793"
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