Skip to content

Commit 1ba7e75

Browse files
committed
Make Scala.js happy
1 parent 71de5cb commit 1ba7e75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

project/Build.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,9 @@ object Build {
850850
enablePlugins(MyScalaJSPlugin).
851851
dependsOn(`dotty-library-bootstrappedJS`).
852852
settings(
853+
// Required to run Scala.js tests.
854+
fork in Test := false,
855+
853856
scalaJSUseMainModuleInitializer := true,
854857
)
855858

@@ -866,6 +869,9 @@ object Build {
866869
settings(
867870
scalacOptions --= Seq("-Xfatal-warnings", "-deprecation"),
868871

872+
// Required to run Scala.js tests.
873+
fork in Test := false,
874+
869875
sourceDirectory in fetchScalaJSSource := target.value / s"scala-js-src-$scalaJSVersion",
870876

871877
fetchScalaJSSource := {

0 commit comments

Comments
 (0)