Skip to content

Commit 190e127

Browse files
committed
Fix community build after removal of scala3-doc
1 parent 0f78f73 commit 190e127

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ object Main:
8585
println("COMMAND is one of: publish doc")
8686
println("Available projects are:")
8787
allProjects.foreach { k =>
88-
println(s"\t$k")
88+
println(s"\t${k.project}")
8989
}
9090
sys.exit(1)
9191

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,9 @@ final case class SbtCommunityProject(
160160
"""set testOptions in Global += Tests.Argument(TestFramework("munit.Framework"), "+l"); """
161161
++ s"$baseCommand$sbtTestCommand"
162162

163-
override val publishCommand = if sbtPublishCommand eq null then null else
164-
val disableDocCommand =
165-
if sbtDocCommand eq null then "" else "set every useScaladoc := false;"
166-
s"$baseCommand$disableDocCommand$sbtPublishCommand"
163+
override val publishCommand =
164+
if sbtPublishCommand eq null then null else s"$baseCommand$sbtPublishCommand"
165+
167166
override val docCommand =
168167
if sbtDocCommand eq null then null else
169168
val cmd = if sbtDocCommand.startsWith(";") then sbtDocCommand else s";$sbtDocCommand"
@@ -627,7 +626,7 @@ object projects:
627626
sbtPublishCommand = "publishLocal",
628627
dependencies = List(scalatest)
629628
)
630-
629+
631630
lazy val perspective = SbtCommunityProject(
632631
project = "perspective",
633632
// No library with easy typeclasses to verify data against exist for Dotty, so no tests yet

0 commit comments

Comments
 (0)