mirror of https://github.com/sbt/sbt.git
add method to sbt.Run for compatibility with 0.5.6
This commit is contained in:
parent
04c73ab1f0
commit
744ed69653
|
|
@ -48,6 +48,8 @@ class Run(compiler: xsbt.AnalyzingCompiler) extends ScalaRun
|
|||
/** This module is an interface to starting the scala interpreter or runner.*/
|
||||
object Run
|
||||
{
|
||||
def run(mainClass: String, classpath: Iterable[Path], options: Seq[String], log: Logger)(implicit runner: ScalaRun) =
|
||||
runner.run(mainClass, classpath, options, log)
|
||||
/** Executes the given function, trapping calls to System.exit. */
|
||||
private[sbt] def executeTrapExit(f: => Unit, log: Logger): Option[String] =
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue