Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gears to the community-build projects #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,6 @@
[submodule "community-build/community-projects/shapeless-3"]
path = community-build/community-projects/shapeless-3
url = https://github.com/dotty-staging/shapeless-3.git
[submodule "community-build/community-projects/gears"]
path = community-build/community-projects/gears
url = https://github.com/dotty-staging/gears.git
1 change: 1 addition & 0 deletions community-build/community-projects/gears
Submodule gears added at 316d1d
11 changes: 11 additions & 0 deletions community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lazy val compilerVersion: String =
val file = communitybuildDir.resolve("scala3-bootstrapped.version")
new String(Files.readAllBytes(file), UTF_8)


lazy val compilerSupportExperimental: Boolean =
compilerVersion.contains("SNAPSHOT") || compilerVersion.contains("NIGHTLY")

Expand Down Expand Up @@ -487,6 +488,7 @@ object projects:
dependencies = List(scalacheck)
)


lazy val scalaCollectionCompat = SbtCommunityProject(
project = "scala-collection-compat",
sbtTestCommand = "compat30/test",
Expand Down Expand Up @@ -755,6 +757,14 @@ object projects:
dependencies = List(utest, scalacheck)
)

lazy val gears = SbtCommunityProject(
project = "gears",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
scalacOptions = Nil,
dependencies = Nil
)

end projects

def allProjects = List(
Expand Down Expand Up @@ -836,6 +846,7 @@ def allProjects = List(
projects.spire,
projects.http4s,
projects.parboiled2,
projects.gears
)

lazy val projectMap = allProjects.groupBy(_.project)
Loading