Skip to content

Commit 5435e68

Browse files
Merge pull request #9784 from vasilmkd/cats-effect
Add cats-effect to the community build
2 parents 0c8c115 + 744ee82 commit 5435e68

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,11 @@
100100
[submodule "community-build/community-projects/scas"]
101101
path = community-build/community-projects/scas
102102
url = https://github.com/dotty-staging/scas.git
103+
[submodule "community-build/community-projects/cats-effect-2"]
104+
path = community-build/community-projects/cats-effect-2
105+
url = https://github.com/dotty-staging/cats-effect.git
106+
branch = series/2.x
107+
[submodule "community-build/community-projects/cats-effect-3"]
108+
path = community-build/community-projects/cats-effect-3
109+
url = https://github.com/dotty-staging/cats-effect.git
110+
branch = series/3.x

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,16 @@ object projects:
300300
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"
301301
)
302302

303+
lazy val catsEffect2 = SbtCommunityProject(
304+
project = "cats-effect-2",
305+
sbtTestCommand = "test"
306+
)
307+
308+
lazy val catsEffect3 = SbtCommunityProject(
309+
project = "cats-effect-3",
310+
sbtTestCommand = "testIfRelevant"
311+
)
312+
303313
end projects
304314

305315
@Category(Array(classOf[TestCategory]))
@@ -363,6 +373,8 @@ class CommunityBuildTest:
363373

364374
@Test def algebra = projects.algebra.run()
365375
@Test def betterfiles = projects.betterfiles.run()
376+
@Test def catsEffect2 = projects.catsEffect2.run()
377+
@Test def catsEffect3 = projects.catsEffect3.run()
366378
@Test def dottyCpsAsync = projects.dottyCpsAsync.run()
367379
@Test def effpi = projects.effpi.run()
368380
@Test def endpoints4s = projects.endpoints4s.run()

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ object Build {
12651265
(publishLocal in `dotty-compiler-bootstrapped`).value
12661266
(publishLocal in `sbt-dotty`).value
12671267
(publishLocal in `dotty-bootstrapped`).value
1268+
(publishLocal in `dotty-library-bootstrappedJS`).value
12681269
// (publishLocal in `dotty-staging`).value
12691270
val pluginText =
12701271
s"""updateOptions in Global ~= (_.withLatestSnapshots(false))

0 commit comments

Comments
 (0)