Fix #3245: Add deprecated scripted `run` back

This commit is contained in:
jvican 2017-06-13 23:56:04 +02:00
parent 50ed5ee8fe
commit d33985d219
No known key found for this signature in database
GPG Key ID: 42DAFA0F112E8050
1 changed files with 14 additions and 0 deletions

View File

@ -318,6 +318,20 @@ class ScriptedRunner {
prescripted.add(f); ()
}) //new FullLogger(Logger.xlog2Log(log)))
}
// This is called by sbt-scripted 0.13.x (the sbt host) when cross-compiling to sbt 0.13.x and 1.0.x
// See https://github.com/sbt/sbt/issues/3245
def run(resourceBaseDirectory: File,
bufferLog: Boolean,
tests: Array[String],
bootProperties: File,
launchOpts: Array[String]): Unit =
run(resourceBaseDirectory,
bufferLog,
tests,
ConsoleLogger(),
bootProperties,
launchOpts,
ScriptedTests.emptyCallback)
def run(resourceBaseDirectory: File,
bufferLog: Boolean,