diff options
| author | Adam Vandenberg | 2009-12-01 12:01:29 -0800 | 
|---|---|---|
| committer | Max Howell | 2009-12-12 16:24:16 +0000 | 
| commit | b84b3e031c6ab9154476b92d3be3a1497f108e70 (patch) | |
| tree | 31edd138acd57d8f87765d034e3d6b8af9d43499 /Library/Formula/sbt.rb | |
| parent | d3af24a8877ef5414e2fa9fa72585910d75611e8 (diff) | |
| download | homebrew-b84b3e031c6ab9154476b92d3be3a1497f108e70.tar.bz2 | |
Use extracted download strategy.
Diffstat (limited to 'Library/Formula/sbt.rb')
| -rw-r--r-- | Library/Formula/sbt.rb | 9 | 
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/sbt.rb b/Library/Formula/sbt.rb index ea18fe1e8..07da98760 100644 --- a/Library/Formula/sbt.rb +++ b/Library/Formula/sbt.rb @@ -1,12 +1,5 @@  require 'formula' -# even though "file -b" reports this as a zip archive, it's just a binary -class SbtHttpDownloadStrategy <CurlDownloadStrategy -  def stage -    FileUtils.mv @dl, File.basename(@url) -  end -end -  class Sbt <Formula    JAR = 'sbt-launcher-0.5.5.jar'    url "http://simple-build-tool.googlecode.com/files/#{JAR}" @@ -14,7 +7,7 @@ class Sbt <Formula    md5 'e3593448b3be17ce1666c6241b8d2f90'    def download_strategy -    SbtHttpDownloadStrategy +    NoUnzipCurlDownloadStrategy # Don't unzip jar.    end    def install  | 
