From 8a8359159a5bf01cebcb741eeac09338efc672e0 Mon Sep 17 00:00:00 2001 From: Luke Amdor Date: Fri, 11 Sep 2009 16:32:10 -0500 Subject: [PATCH] SBT formula A simple build tool for Scala projects that aims to do the basics well. It requires Java 1.5 or later. --- Formula/sbt.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Formula/sbt.rb diff --git a/Formula/sbt.rb b/Formula/sbt.rb new file mode 100644 index 0000000000..a47566a301 --- /dev/null +++ b/Formula/sbt.rb @@ -0,0 +1,27 @@ +require 'brewkit' + +# even though "file -b" reports this as a zip archive, it's just a binary +class HttpDownloadStrategy + def stage + FileUtils.mv @dl, File.basename(@url) + end +end + +class Sbt