Merge branch 'master' of github.com:harrah/xsbt

This commit is contained in:
Mark Harrah 2010-05-16 20:54:55 -04:00
commit 5e99d5fdd9
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
project.name=scripted
project.organization=org.scala-tools.sbt
project.version=0.7.2-SNAPSHOT
sbt.version=0.7.1
project.version=0.7.4
sbt.version=0.7.4
def.scala.version=2.7.7
build.scala.versions=2.7.7
project.initialize=false

View File

@ -49,7 +49,7 @@ trait Scripted extends Project with MultiTaskProject
def scriptedTest(test: ScriptedTest) =
task { runner.scriptedTest(test.group, test.name, log) } named test.toString dependsOn(startTask)
val testTasks = tests.map(scriptedTest)
Empty named("scripted-test-complete") dependsOn(testTasks : _*)
task {None} named("scripted-test-complete") dependsOn(testTasks : _*)
}
private def unwrapOption[T](s: T): Option[T] = if(s == null) None else Some(s)

View File

@ -13,7 +13,7 @@ import xsbt.test.{CommentHandler, FileCommands, ScriptRunner, TestScriptParser}
final class ScriptedTests(resourceBaseDirectory: File, bufferLog: Boolean, sbtVersion: String, defScalaVersion: String, buildScalaVersions: String) extends NotNull
{
@deprecated def this(resourceBaseDirectory: File, bufferLog: Boolean, sbtVersion: String, defScalaVersion: String, level: CompatibilityLevel.Value) =
this(resourceBaseDirectory, bufferLog, sbtVersion, defScalaVersion, CompatibilityLevel.defaultVersions(level)) =
this(resourceBaseDirectory, bufferLog, sbtVersion, defScalaVersion, CompatibilityLevel.defaultVersions(level))
private val testResources = new Resources(resourceBaseDirectory)
@ -87,7 +87,7 @@ object CompatibilityLevel extends Enumeration
object FillProperties
{
def apply(projectDirectory: File, sbtVersion: String, defScalaVersion: String, level: CompatibilityLevel.Value): Unit =
apply(projectDirectory, sbtVersion, defScalaVersion, defaultVersions(level))
apply(projectDirectory, sbtVersion, defScalaVersion, CompatibilityLevel.defaultVersions(level))
def apply(projectDirectory: File, sbtVersion: String, defScalaVersion: String, buildScalaVersions: String): Unit =
{
import xsbt.Paths._