diff options
| author | Dominyk Tiller | 2014-10-21 19:56:11 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-21 19:56:11 +0100 |
| commit | 27297a36639dc7765a08deeb429a5c5b31be14c8 (patch) | |
| tree | 84c8dd31cbda5809af78d1c2cd990de182279347 /Library | |
| parent | a2b1b96ce9a3313a03db7c997475d032351ffe9f (diff) | |
| download | homebrew-27297a36639dc7765a08deeb429a5c5b31be14c8.tar.bz2 | |
groovysdk 2.3.7 (new formula)
Closes #33285.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/groovysdk.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/groovysdk.rb b/Library/Formula/groovysdk.rb new file mode 100644 index 000000000..67fb4d02d --- /dev/null +++ b/Library/Formula/groovysdk.rb @@ -0,0 +1,23 @@ +require "formula" + +class Groovysdk < Formula + homepage "http://groovy.codehaus.org/" + url "http://dl.bintray.com/groovy/maven/groovy-sdk-2.3.7.zip" + sha1 "a9021d36b5626692d2ab56b2799add8aadcd9ca2" + + 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 |
