homebrew-core/Formula/groovysdk.rb
Jay Barker 7be9e8714b groovysdk 2.4.4
Use SHA256 checksum

Closes Homebrew/homebrew#41865.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-18 21:58:20 +01:00

24 lines
701 B
Ruby

require "formula"
class Groovysdk < Formula
desc "SDK for Groovy: a Java-based scripting language"
homepage "http://www.groovy-lang.org"
url "https://dl.bintray.com/groovy/maven/apache-groovy-sdk-2.4.4.zip"
sha256 "2e794749f38386c81101c05e83b2ddd2bc3675d1cb01101f3ee2be6cf67b2fc9"
def install
ENV["GROOVY_HOME"] = libexec
# We don't need Windows' files.
rm_f Dir["bin/*.bat"]
prefix.install_metafiles
bin.install Dir["bin/*"]
libexec.install %w(conf lib embeddable src doc)
bin.env_script_all_files(libexec+"bin", :GROOVY_HOME => ENV["GROOVY_HOME"])
end
test do
system "#{bin}/grape", "install", "org.activiti", "activiti-engine", "5.16.4"
end
end