homebrew-core/Formula/groovysdk.rb
Jerzerak 115cd369aa groovysdk 2.4.6
Groovy SDK 2.4.6

Closes Homebrew/homebrew#49418.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-02-22 12:33:21 +01:00

26 lines
775 B
Ruby

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.6.zip"
sha256 "fc95990225d70a8ab9d40a1bc93ea460e8ed6196cbc8ae520761efdf6cd609c1"
bottle :unneeded
conflicts_with "groovy", :because => "both install the same binaries"
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