Skip to content

Commit 76ad797

Browse files
committed
check initialization in community build
1 parent 8b25cea commit 76ad797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ final case class SbtCommunityProject(
102102
private val baseCommand =
103103
"clean; set logLevel in Global := Level.Error; set updateOptions in Global ~= (_.withLatestSnapshots(false)); "
104104
++ s"""set dependencyOverrides in ThisBuild ++= ${dependencyOverrides.mkString("Seq(", ", ", ")")}; """
105+
++ """set scalacOptions in Global += "-Ycheck-init";"""
105106
++ s"++$compilerVersion!; "
106107

107108
override val testCommand = s"$baseCommand$sbtTestCommand"

0 commit comments

Comments
 (0)