Skip to content

Commit 9b80d97

Browse files
committed
Compile the community-build with the bootstrapped compiler
Previously we compiled it with the reference compiler. Both work, but using the bootstrapped compiler means we can catch potential regressions before we update the reference compiler to a new version.
1 parent b255543 commit 9b80d97

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

project/Build.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -977,12 +977,9 @@ object Build {
977977
val updateCommunityBuild = taskKey[Unit]("Updates the community build.")
978978

979979
lazy val `community-build` = project.in(file("community-build")).
980-
settings(commonSettings).
980+
dependsOn(dottyLibrary(Bootstrapped)).
981+
settings(commonBootstrappedSettings).
981982
settings(
982-
scalaVersion := referenceVersion,
983-
// To be removed once we stop cross-compiling with Scala 2
984-
crossScalaVersions := Seq(referenceVersion, scalacVersion),
985-
986983
prepareCommunityBuild := {
987984
(publishLocal in `dotty-sbt-bridge`).value
988985
(publishLocal in `dotty-interfaces`).value

0 commit comments

Comments
 (0)