Skip to content

Commit c477ab8

Browse files
committed
Redefine scripted test
1 parent e5bd557 commit c477ab8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

project/Build.scala

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ object DottyBuild extends Build {
346346
List("-XX:+TieredCompilation", "-XX:TieredStopAtLevel=1")
347347
else List()
348348

349-
"-XX:+PrintGCDetails" :: ("-DpartestParentID=" + pid) :: tuning ::: agentOptions ::: travis_build ::: path.toList
349+
("-DpartestParentID=" + pid) :: tuning ::: agentOptions ::: travis_build ::: path.toList
350350
}
351351
).
352352
settings(publishing)
@@ -423,7 +423,13 @@ object DottyBuild extends Build {
423423
settings(
424424
ScriptedPlugin.sbtTestDirectory := baseDirectory.value / "sbt-test",
425425
ScriptedPlugin.scriptedLaunchOpts := Seq("-Xmx1024m"),
426-
ScriptedPlugin.scriptedBufferLog := false
426+
ScriptedPlugin.scriptedBufferLog := false,
427+
ScriptedPlugin.scripted := {
428+
val x1 = (publishLocal in `dotty-compiler`).value
429+
val x2 = (publishLocal in `dotty-library`).value
430+
val x3 = (publishLocal in `dotty-interfaces`).value
431+
ScriptedPlugin.scriptedTask.evaluated
432+
}
427433
// TODO: Use this instead of manually copying DottyInjectedPlugin.scala
428434
// everywhere once https://github.com/sbt/sbt/issues/2601 gets fixed.
429435
/*,

0 commit comments

Comments
 (0)