homebrew-core/Formula/sbt.rb

18 lines
368 B
Ruby
Raw Normal View History

require 'formula'
class Sbt <Formula
JAR = 'sbt-launch-0.7.4.jar'
2009-09-30 15:18:16 +00:00
url "http://simple-build-tool.googlecode.com/files/#{JAR}"
2010-08-21 19:01:45 +00:00
homepage 'http://code.google.com/p/simple-build-tool/'
md5 '8903fb141037056a497925f3efdb9edf'
2009-09-30 15:18:16 +00:00
def install
2009-09-30 15:18:16 +00:00
(bin+'sbt').write <<-EOS
#!/bin/sh
java -Xmx512M -jar #{libexec}/#{JAR} "$@"
EOS
libexec.install Dir['*']
end
end