homebrew-core/Formula/gradle.rb

16 lines
365 B
Ruby
Raw Normal View History

2010-06-15 17:26:59 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gradle < Formula
2010-06-15 17:26:59 +00:00
homepage 'http://www.gradle.org/'
version '1.0-milestone-2'
url 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-2-all.zip'
md5 '7d3184d952e4f8fc2d650c1fe77ff06e'
2010-06-15 17:26:59 +00:00
def install
rm_f Dir["bin/*.bat"]
libexec.install %w[bin lib]
2010-06-15 17:26:59 +00:00
bin.mkpath
ln_s libexec+('bin/gradle'), bin
end
2011-03-10 05:11:03 +00:00
end