Skip to content

Commit bbdcd0a

Browse files
committed
community build: update scalatest and friends to upstream 3.2.7
ScalaTest 3.2.7 brings support for Scala.js with Scala 3.
1 parent 25f0e07 commit bbdcd0a

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed
Submodule scalatest updated 239 files

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,17 @@ object projects:
276276
sbtDocCommand = forceDoc("jvm")
277277
)
278278

279-
lazy val scalatest = SbtCommunityProject(
279+
lazy val scalatest: SbtCommunityProject = SbtCommunityProject(
280280
project = "scalatest",
281-
sbtTestCommand = "scalacticDotty/clean;scalacticTestDotty/test; scalatestTestDotty/test",
282-
sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal",
283-
sbtDocCommand = ";scalacticDotty/doc" // fails with missing type ;scalatestDotty/doc"
281+
sbtTestCommand = "scalacticDotty/clean; scalacticDottyJS/clean; scalacticTestDotty/test; scalatestTestDotty/test; scalacticTestDottyJS/test; scalatestTestDottyJS/test",
282+
sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal",
283+
sbtDocCommand = ";scalacticDotty/doc", // fails with missing type ;scalatestDotty/doc"
284284
// cannot take signature of (test: org.scalatest.concurrent.ConductorFixture#OneArgTest):
285285
// org.scalatest.Outcome
286286
// Problem parsing scalatest.dotty/target/scala-3.0.0-M2/src_managed/main/org/scalatest/concurrent/ConductorFixture.scala:[602..624..3843], documentation may not be generated.
287287
// dotty.tools.dotc.core.MissingType:
288+
dependencies = List(scalaXml),
289+
testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG)
288290
)
289291

290292
lazy val scalatestplusScalacheck = SbtCommunityProject(
@@ -311,7 +313,8 @@ object projects:
311313

312314
lazy val scalaXml = SbtCommunityProject(
313315
project = "scala-xml",
314-
sbtTestCommand = "xml/test",
316+
sbtTestCommand = "xml/test",
317+
sbtPublishCommand = "xml/publishLocal",
315318
sbtDocCommand = "xml/doc"
316319
)
317320

0 commit comments

Comments
 (0)