Skip to content

Commit

Permalink
Make Scala.js happy
Browse files Browse the repository at this point in the history
  • Loading branch information
smarter committed Aug 25, 2019
1 parent 71de5cb commit 1ba7e75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,9 @@ object Build {
enablePlugins(MyScalaJSPlugin).
dependsOn(`dotty-library-bootstrappedJS`).
settings(
// Required to run Scala.js tests.
fork in Test := false,

scalaJSUseMainModuleInitializer := true,
)

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

// Required to run Scala.js tests.
fork in Test := false,

sourceDirectory in fetchScalaJSSource := target.value / s"scala-js-src-$scalaJSVersion",

fetchScalaJSSource := {
Expand Down

0 comments on commit 1ba7e75

Please sign in to comment.