fix tests

This commit is contained in:
Mark Harrah 2011-03-06 09:23:36 -05:00
parent f6fe55f57c
commit a680dc2336
4 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@ package org.example {
def x = new { def y = new S { def z = new Child { def x = "asdf" } } }
final val xconst = 3
private[this] def zz: Seq[_] = Nil
type L[M[_], P <: Int >: Int] = M[P]
type L[M[_], P >: Int <: Int] = M[P]
type Q = L[Option, Int]
}
object Basic

View File

@ -15,7 +15,7 @@ package sbt
sealed trait Aggregation
final object Aggregation
{
def apply(dependencies: Seq[ProjectRef], transitive: Boolean = true): Aggregation = new Explicit(dependencies, transitive)
def apply(dependencies: Seq[ProjectReference], transitive: Boolean = true): Aggregation = new Explicit(dependencies, transitive)
implicit def fromBoolean(b: Boolean): Aggregation = if(b) Enabled else Disabled
val Enabled = new Implicit(true)
val Disabled = new Implicit(false)

View File

@ -21,7 +21,8 @@ package object sbt extends sbt.std.TaskExtra with sbt.Types with sbt.ProcessExtr
def Javadoc = C.Javadoc
def Sources = C.Sources
def Provided = C.Provided
def System = C.System
// java.lang.System is more important, so don't alias this one
// def System = C.System
def Optional = C.Optional
implicit def globFilter(expression: String): NameFilter = GlobFilter(expression)

View File

@ -6,7 +6,7 @@ trait Marker
{
final lazy val Mark = TaskKey[Unit]("mark")
final def mark: Initialize[Task[Unit]] = mark(baseDirectory)
final def mark(project: ProjectRef): Initialize[Task[Unit]] = mark(baseDirectory in project)
final def mark(project: Reference): Initialize[Task[Unit]] = mark(baseDirectory in project)
final def mark(baseKey: ScopedSetting[File]): Initialize[Task[Unit]] = baseKey map { base =>
val toMark = base / "ran"
if(toMark.exists)