gradle: use install_symlink
This commit is contained in:
parent
775643c264
commit
ea7b0d6596
1 changed files with 2 additions and 3 deletions
|
@ -2,14 +2,13 @@ require 'formula'
|
||||||
|
|
||||||
class Gradle < Formula
|
class Gradle < Formula
|
||||||
homepage 'http://www.gradle.org/'
|
homepage 'http://www.gradle.org/'
|
||||||
version '1.0-milestone-7'
|
|
||||||
url 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-7-bin.zip'
|
url 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-7-bin.zip'
|
||||||
|
version '1.0-milestone-7'
|
||||||
md5 '3622dbf2f2ef30c5abf5d8b94e709e13'
|
md5 '3622dbf2f2ef30c5abf5d8b94e709e13'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
rm_f Dir["bin/*.bat"]
|
rm_f Dir["bin/*.bat"]
|
||||||
libexec.install %w[bin lib]
|
libexec.install %w[bin lib]
|
||||||
bin.mkpath
|
bin.install_symlink libexec+'bin/gradle'
|
||||||
ln_s libexec+('bin/gradle'), bin
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue