groovy: remove options
This commit is contained in:
parent
fff4ad2aed
commit
1986edd8a7
1 changed files with 0 additions and 12 deletions
|
@ -6,10 +6,6 @@ class Groovy < Formula
|
||||||
|
|
||||||
bottle :unneeded
|
bottle :unneeded
|
||||||
|
|
||||||
option "with-invokedynamic", "Install the InvokeDynamic version of Groovy"
|
|
||||||
|
|
||||||
deprecated_option "invokedynamic" => "with-invokedynamic"
|
|
||||||
|
|
||||||
# Groovy 2.5 requires JDK8+ to build and JDK7 is the minimum version of the JRE that we support.
|
# Groovy 2.5 requires JDK8+ to build and JDK7 is the minimum version of the JRE that we support.
|
||||||
depends_on :java => "1.7+"
|
depends_on :java => "1.7+"
|
||||||
|
|
||||||
|
@ -19,14 +15,6 @@ class Groovy < Formula
|
||||||
# Don't need Windows files.
|
# Don't need Windows files.
|
||||||
rm_f Dir["bin/*.bat"]
|
rm_f Dir["bin/*.bat"]
|
||||||
|
|
||||||
if build.with? "invokedynamic"
|
|
||||||
Dir.glob("indy/*.jar") do |src_path|
|
|
||||||
dst_file = File.basename(src_path, "-indy.jar") + ".jar"
|
|
||||||
dst_path = File.join("lib", dst_file)
|
|
||||||
mv src_path, dst_path
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
libexec.install "bin", "conf", "lib"
|
libexec.install "bin", "conf", "lib"
|
||||||
bin.install_symlink Dir["#{libexec}/bin/*"] - ["#{libexec}/bin/groovy.ico"]
|
bin.install_symlink Dir["#{libexec}/bin/*"] - ["#{libexec}/bin/groovy.ico"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue