Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 28743b9d68
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.446 kB
require 'formula'
class Ant < Formula
homepage 'http://ant.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi/ant/binaries/apache-ant-1.8.4-bin.tar.gz'
sha1 'b4a7b2d0dfba23ba970973e4881b5b5634fbdfaf'
def install
rm Dir['bin/*.{bat,cmd,dll,exe}']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each do |f|
ln_s f, bin+File.basename(f)
end
end
def test
system "ant -version"
end
end
Jump to Line
Something went wrong with that request. Please try again.