homebrew-core/Formula/grails.rb
ilovezfs 029ab79af4 grails 3.2.1
Closes #6081.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-10-19 01:26:26 -07: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.1/grails-3.2.1.zip"
sha256 "25b9c59b5494a0b09213479fbabfd1bddf8e5e9723a1c560859881ede05ab664"
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