diff --git a/.gitmodules b/.gitmodules index 15041fcb15fa..635c564ca56b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -100,3 +100,11 @@ [submodule "community-build/community-projects/scas"] path = community-build/community-projects/scas url = https://github.com/dotty-staging/scas.git +[submodule "community-build/community-projects/cats-effect-2"] + path = community-build/community-projects/cats-effect-2 + url = https://github.com/dotty-staging/cats-effect.git + branch = series/2.x +[submodule "community-build/community-projects/cats-effect-3"] + path = community-build/community-projects/cats-effect-3 + url = https://github.com/dotty-staging/cats-effect.git + branch = series/3.x diff --git a/community-build/community-projects/cats-effect-2 b/community-build/community-projects/cats-effect-2 new file mode 160000 index 000000000000..e395f060413e --- /dev/null +++ b/community-build/community-projects/cats-effect-2 @@ -0,0 +1 @@ +Subproject commit e395f060413ea6cddbf7a8d1baee3c242a566e79 diff --git a/community-build/community-projects/cats-effect-3 b/community-build/community-projects/cats-effect-3 new file mode 160000 index 000000000000..e7b50ffe9dab --- /dev/null +++ b/community-build/community-projects/cats-effect-3 @@ -0,0 +1 @@ +Subproject commit e7b50ffe9dabdbe5af479f4e1c9fd447e71e07f4 diff --git a/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala b/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala index e0c9b07bfd55..6e3f2681129b 100644 --- a/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala +++ b/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala @@ -300,6 +300,16 @@ object projects: sbtTestCommand = ";json-schemaJVM/compile;algebraJVM/compile;openapiJVM/compile;http4s-server/compile;http4s-client/compile;play-server/compile;play-client/compile;akka-http-server/compile;akka-http-client/compile" ) + lazy val catsEffect2 = SbtCommunityProject( + project = "cats-effect-2", + sbtTestCommand = "test" + ) + + lazy val catsEffect3 = SbtCommunityProject( + project = "cats-effect-3", + sbtTestCommand = "testIfRelevant" + ) + end projects @Category(Array(classOf[TestCategory])) @@ -363,6 +373,8 @@ class CommunityBuildTest: @Test def algebra = projects.algebra.run() @Test def betterfiles = projects.betterfiles.run() + @Test def catsEffect2 = projects.catsEffect2.run() + @Test def catsEffect3 = projects.catsEffect3.run() @Test def dottyCpsAsync = projects.dottyCpsAsync.run() @Test def effpi = projects.effpi.run() @Test def endpoints4s = projects.endpoints4s.run() diff --git a/project/Build.scala b/project/Build.scala index d92724fe1832..5f2d13a1b10a 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -1265,6 +1265,7 @@ object Build { (publishLocal in `dotty-compiler-bootstrapped`).value (publishLocal in `sbt-dotty`).value (publishLocal in `dotty-bootstrapped`).value + (publishLocal in `dotty-library-bootstrappedJS`).value // (publishLocal in `dotty-staging`).value val pluginText = s"""updateOptions in Global ~= (_.withLatestSnapshots(false))