7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
17 lines
367 B
Ruby
17 lines
367 B
Ruby
require 'formula'
|
|
|
|
class Sbt <Formula
|
|
JAR = 'sbt-launch-0.7.4.jar'
|
|
url "http://simple-build-tool.googlecode.com/files/#{JAR}"
|
|
homepage 'http://code.google.com/p/simple-build-tool'
|
|
md5 '8903fb141037056a497925f3efdb9edf'
|
|
|
|
def install
|
|
(bin+'sbt').write <<-EOS
|
|
#!/bin/sh
|
|
java -Xmx512M -jar #{libexec}/#{JAR} "$@"
|
|
EOS
|
|
|
|
libexec.install Dir['*']
|
|
end
|
|
end
|