Merge pull request #1344 from sbt/wip/merge-0.13.5

Wip/merge 0.13.5
This commit is contained in:
eugene yokota 2014-05-16 14:14:33 -04:00
commit 7f69facd26
3 changed files with 15 additions and 1 deletions

View File

@ -272,7 +272,7 @@ object Load {
loaders updatePluginManagement PluginManagement.extractOverrides(unit.plugins.fullClasspath)
def addResolvers(unit: sbt.BuildUnit, isRoot: Boolean, loaders: BuildLoader): BuildLoader =
unit.definitions.builds.flatMap(_.buildLoaders) match {
unit.definitions.builds.flatMap(_.buildLoaders).toList match {
case Nil => loaders
case x :: xs =>
import Alternatives._

View File

@ -0,0 +1,12 @@
import sbt._
import Keys._
object EmptyLoaderBuild extends Build {
override def buildLoaders = BuildLoader.transform(_.unit) :: Nil
lazy val root = (
project in file(".")
settings(
name := "foo"
)
)
}

View File

@ -0,0 +1,2 @@
# Just making sure the build compiles is enough of a test.
> name