mirror of https://github.com/sbt/sbt.git
Fix run/concurrent
This commit is contained in:
parent
bf6452f193
commit
40d6d6d00e
|
|
@ -7,7 +7,7 @@ def runTestTask(pre: Def.Initialize[Task[Unit]]) =
|
||||||
val cp = (fullClasspath in Compile).value
|
val cp = (fullClasspath in Compile).value
|
||||||
val main = (mainClass in Compile).value getOrElse sys.error("No main class found")
|
val main = (mainClass in Compile).value getOrElse sys.error("No main class found")
|
||||||
val args = baseDirectory.value.getAbsolutePath :: Nil
|
val args = baseDirectory.value.getAbsolutePath :: Nil
|
||||||
r.run(main, cp.files, args, streams.value.log) foreach sys.error
|
r.run(main, cp.files, args, streams.value.log).get
|
||||||
}
|
}
|
||||||
|
|
||||||
lazy val b = project.settings(
|
lazy val b = project.settings(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue