Much to my surprise OS X provides Apache Ant

Although amusingly, it's version 1.7.1 on Leopard and 1.7.0 on Snow Leopard!
This commit is contained in:
Max Howell committed 2009-10-19 04:02:49 +01:00
1 parent e306bc5d2c
commit 035301fdbc
1 file changed
-15
-15
View File
@@ -1,15 +0,0 @@
require 'formula'
# TODO common aliases: 'apache ant'
class Ant <Formula
@url='http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz'
@homepage='http://ant.apache.org/'
@md5='cc5777c57c4e8269be5f3d1dc515301c'
def install
prefix.install Dir['*']
Dir['bin/*.cmd'].each { |file| File.unlink file }
Dir['bin/*.bat'].each { |file| File.unlink file }
end
end