Skip to content

Commit 3da7bb1

Browse files
[community-build] Don't set --no-server for mill projects and publish scala-library artifact (#24209)
According to mill --help --no-server is already implied by -i. Only one of these two should be used. Add publishing of scala-library-bootstrapped in the prepeareCommunityBuild task Disable scas - mill 1.0 seems to not support Scala 3 snapshot versions
1 parent 00120c7 commit 3da7bb1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ final case class MillCommunityProject(
7474
override val docCommand = null
7575
// uncomment once mill is released
7676
// if ignoreDocs then null else s"$baseCommand.docJar"
77-
override val runCommandsArgs = List("-i", "-D", s"dottyVersion=$compilerVersion", "--no-server")
77+
override val runCommandsArgs = List("-i", "-D", s"dottyVersion=$compilerVersion")
7878

7979
final case class SbtCommunityProject(
8080
project: String,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ class CommunityBuildTestC:
9191
@Test def scalatestplusScalacheck = projects.scalatestplusScalacheck.run()
9292
@Test def scalaXml = projects.scalaXml.run()
9393
@Test def scalaz = projects.scalaz.run()
94-
@Test def scas = projects.scas.run()
94+
// mill 1.0.5 fails to build, cannot find scala-library artifact on classpath
95+
// @Test def scas = projects.scas.run()
9596
@Test def sconfig = projects.sconfig.run()
9697
@Test def shapeless3 = projects.shapeless3.run()
9798
@Test def sourcecode = projects.sourcecode.run()

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3559,6 +3559,7 @@ object Build {
35593559
(`scala3-sbt-bridge` / publishLocal).value
35603560
(`scala3-interfaces` / publishLocal).value
35613561
(`tasty-core-bootstrapped` / publishLocal).value
3562+
(`scala-library-bootstrapped` / publishLocal).value
35623563
(`scala3-library-bootstrapped` / publishLocal).value
35633564
(`scala3-tasty-inspector` / publishLocal).value
35643565
(`scaladoc` / publishLocal).value

0 commit comments

Comments
 (0)