Blame sbt-0.13.1-sbt-scala.patch

William Benton 10f74e0
--- old/project/Sbt.scala	2013-11-23 13:43:58.498256144 -0600
William Benton 10f74e0
+++ new/project/Sbt.scala	2013-11-26 09:59:50.591828593 -0600
William Benton 10f74e0
@@ -15,6 +15,7 @@
William Benton 10f74e0
 	def buildSettings = Seq(
William Benton 10f74e0
 		organization := "org.scala-sbt",
William Benton 10f74e0
 		version := "0.13.1",
William Benton 10f74e0
+		scalaHome := Some(file("scala")),
William Benton 10f74e0
 		publishArtifact in packageDoc := false,
William Benton 10f74e0
 		scalaVersion := "2.10.3",
William Benton 10f74e0
 		publishMavenStyle := false,
William Benton 10f74e0
@@ -97,9 +98,6 @@
William Benton 10f74e0
 		// Compiler-side interface to compiler that is compiled against the compiler being used either in advance or on the fly.
William Benton 10f74e0
 		//   Includes API and Analyzer phases that extract source API and relationships.
William Benton 10f74e0
 	lazy val compileInterfaceSub = baseProject(compilePath / "interface", "Compiler Interface") dependsOn(interfaceSub, ioSub % "test->test", logSub % "test->test", launchSub % "test->test") settings( compileInterfaceSettings : _*)
William Benton 10f74e0
-	lazy val precompiled282 = precompiled("2.8.2")
William Benton 10f74e0
-	lazy val precompiled292 = precompiled("2.9.2")
William Benton 10f74e0
-	lazy val precompiled293 = precompiled("2.9.3")
William Benton 10f74e0
 
William Benton 10f74e0
 		// Implements the core functionality of detecting and propagating changes incrementally.
William Benton 10f74e0
 		//   Defines the data structures for representing file fingerprints and relationships and the overall source analysis
William Benton 10f74e0
@@ -135,7 +133,7 @@
William Benton 10f74e0
 		// Strictly for bringing implicits and aliases from subsystems into the top-level sbt namespace through a single package object
William Benton 10f74e0
 		//  technically, we need a dependency on all of mainSub's dependencies, but we don't do that since this is strictly an integration project
William Benton 10f74e0
 		//  with the sole purpose of providing certain identifiers without qualification (with a package object)
William Benton 10f74e0
-	lazy val sbtSub = baseProject(sbtPath, "sbt") dependsOn(mainSub, compileInterfaceSub, precompiled282, precompiled292, precompiled293, scriptedSbtSub % "test->test") settings(sbtSettings : _*)
William Benton 10f74e0
+	lazy val sbtSub = baseProject(sbtPath, "sbt") dependsOn(mainSub, compileInterfaceSub, scriptedSbtSub % "test->test") settings(sbtSettings : _*)
William Benton 10f74e0
 
William Benton 10f74e0
 		/* Nested subproject paths */
William Benton 10f74e0
 	def sbtPath = file("sbt")
William Benton 10f74e0
@@ -211,10 +209,10 @@
William Benton 10f74e0
 		publishAll <<= inAll(nonRoots, publishLocal.task),
William Benton 10f74e0
 		publishAll <<= (publishAll, publishLocal).map((x,y)=> ()) // publish all normal deps as well as the sbt-launch jar
William Benton 10f74e0
 	)
William Benton 10f74e0
-	def fullDocSettings = Util.baseScalacOptions ++ Docs.settings ++ Sxr.settings ++ Seq(
William Benton 10f74e0
+	def fullDocSettings = Util.baseScalacOptions ++ Sxr.settings ++ Seq(
William Benton 10f74e0
 		scalacOptions += "-Ymacro-no-expand", // for both sxr and doc
William Benton 10f74e0
 		sources in sxr <<= deepTasks(sources in Compile), //sxr
William Benton 10f74e0
-		sources in (Compile,doc) <<= sources in sxr, // doc
William Benton 10f74e0
+		sources in (Compile) <<= sources in sxr, // doc
William Benton 10f74e0
 		Sxr.sourceDirectories <<= deep(sourceDirectories in Compile).map(_.flatten), // to properly relativize the source paths
William Benton 10f74e0
 		fullClasspath in sxr <<= (externalDependencyClasspath in Compile in sbtSub),
William Benton 10f74e0
 		dependencyClasspath in (Compile,doc) <<= fullClasspath in sxr