homebrew-core/Formula/grails.rb
Daniel Grycman ab4584818c grails 3.0.6
Closes Homebrew/homebrew#43792.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-22 03:42:01 +01:00

24 lines
683 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.0.6/grails-3.0.6.zip"
sha256 "a968ba44ae8b5c8d68102ba55a3834a6723602b07dc32abd23b93449e2543183"
def install
rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
prefix.install_metafiles
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
output = shell_output("#{bin}/grails --version")
assert_match /Grails Version: #{version}/, output
end
end