Blame sbt-0.13.1-RC3-release-scala.patch
|
William Benton |
10f74e0 |
--- old/project/Release.scala 2013-11-23 13:43:58.498256144 -0600
|
|
William Benton |
10f74e0 |
+++ new/project/Release.scala 2013-11-25 21:08:00.113468064 -0600
|
|
William Benton |
10f74e0 |
@@ -39,9 +39,6 @@
|
|
William Benton |
10f74e0 |
def deployLauncher(launcher: TaskKey[File]) =
|
|
William Benton |
10f74e0 |
(launcher, launcherRemotePath, credentials, remoteBase, streams) map { (launchJar, remotePath, creds, base, s) =>
|
|
William Benton |
10f74e0 |
val (uname, pwd) = getCredentials(creds, s.log)
|
|
William Benton |
10f74e0 |
- val request = dispatch.classic.url(base) / remotePath <<< (launchJar, "binary/octet-stream") as (uname, pwd)
|
|
William Benton |
10f74e0 |
- val http = new dispatch.classic.Http
|
|
William Benton |
10f74e0 |
- try { http(request.as_str) } finally { http.shutdown() }
|
|
William Benton |
10f74e0 |
()
|
|
William Benton |
10f74e0 |
}
|
|
William Benton |
10f74e0 |
def getCredentials(cs: Seq[Credentials], log: Logger): (String, String) =
|