Skip to content

Commit de61dc0

Browse files
committed
community-build: less noisy output
- Turn off sbt supershell, it leaves junk in the output. - Turn off all warnings, no one is going to fix them anyway.
1 parent a324502 commit de61dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ final case class SbtCommunityProject(
9595
dependencies: List[CommunityProject] = Nil,
9696
sbtPublishCommand: String = null) extends CommunityProject:
9797
override val binaryName: String = "sbt"
98-
private val baseCommand = s";clean ;set updateOptions in Global ~= (_.withLatestSnapshots(false)) ;++$compilerVersion! "
98+
private val baseCommand = s";clean ;set logLevel in Global := Level.Error ;set updateOptions in Global ~= (_.withLatestSnapshots(false)) ;++$compilerVersion! "
9999
override val testCommand = s"$baseCommand$sbtTestCommand"
100100
override val updateCommand = s"$baseCommand$sbtUpdateCommand"
101101
override val publishCommand = s"$baseCommand$sbtPublishCommand"
102102

103103
override val runCommandsArgs: List[String] =
104104
// Run the sbt command with the compiler version and sbt plugin set in the build
105105
val sbtProps = Option(System.getProperty("sbt.ivy.home")) match
106-
case Some(ivyHome) => List(s"-Dsbt.ivy.home=$ivyHome")
106+
case Some(ivyHome) => List(s"-Dsbt.ivy.home=$ivyHome", "-Dsbt.supershell=false")
107107
case _ => Nil
108108
extraSbtArgs ++ sbtProps ++ List(
109109
"-sbt-version", "1.3.8",

0 commit comments

Comments
 (0)