Skip to content

Commit 3a1152f

Browse files
committed
community build: Add fs2
1 parent d3446c9 commit 3a1152f

File tree

6 files changed

+40
-0
lines changed

6 files changed

+40
-0
lines changed

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,12 @@
196196
[submodule "community-build/community-projects/scalatestplus-testng"]
197197
path = community-build/community-projects/scalatestplus-testng
198198
url = https://github.com/dotty-staging/scalatestplus-testng.git
199+
[submodule "community-build/community-projects/munit-cats-effect"]
200+
path = community-build/community-projects/munit-cats-effect
201+
url = https://github.com/dotty-staging/munit-cats-effect.git
202+
[submodule "community-build/community-projects/scalacheck-effect"]
203+
path = community-build/community-projects/scalacheck-effect
204+
url = https://github.com/dotty-staging/scalacheck-effect.git
205+
[submodule "community-build/community-projects/fs2"]
206+
path = community-build/community-projects/fs2
207+
url = https://github.com/dotty-staging/fs2.git
Submodule fs2 added at bb69f51

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ object projects:
485485
lazy val catsEffect3 = SbtCommunityProject(
486486
project = "cats-effect-3",
487487
sbtTestCommand = "test",
488+
sbtPublishCommand = "publishLocal",
488489
sbtDocCommand = ";coreJVM/doc ;lawsJVM/doc ;kernelJVM/doc",
489490
dependencies = List(cats, coop, disciplineSpecs2, scalacheck)
490491
)
@@ -676,6 +677,27 @@ object projects:
676677
dependencies = List(scalatest, scalatestplusScalacheck),
677678
)
678679

680+
lazy val munitCatsEffect = SbtCommunityProject(
681+
project = "munit-cats-effect",
682+
sbtTestCommand = "ce3JVM/test; ce3JS/test",
683+
sbtPublishCommand = "ce3JVM/publishLocal; ce3JS/publishLocal",
684+
dependencies = List(munit, catsEffect3)
685+
)
686+
687+
lazy val scalacheckEffect = SbtCommunityProject(
688+
project = "scalacheck-effect",
689+
sbtTestCommand = "test",
690+
sbtPublishCommand = "publishLocal",
691+
dependencies = List(cats, catsEffect3, munit, scalacheck)
692+
)
693+
694+
lazy val fs2 = SbtCommunityProject(
695+
project = "fs2",
696+
sbtTestCommand = "coreJVM/test; coreJS/test", // io/test requires JDK9+
697+
sbtPublishCommand = "coreJVM/publishLocal; coreJS/publishLocal",
698+
dependencies = List(cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits)
699+
)
700+
679701
end projects
680702

681703
def allProjects = List(
@@ -748,6 +770,9 @@ def allProjects = List(
748770
projects.onnxScala,
749771
projects.playJson,
750772
projects.scalatestplusTestNG,
773+
projects.munitCatsEffect,
774+
projects.scalacheckEffect,
775+
projects.fs2,
751776
)
752777

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@ class CommunityBuildTestB extends CommunityBuildTest:
121121
@Test def discipline = projects.discipline.run()
122122
@Test def disciplineMunit = projects.disciplineMunit.run()
123123
@Test def disciplineSpecs2 = projects.disciplineSpecs2.run()
124+
@Test def fs2 = projects.fs2.run()
124125
@Test def munit = projects.munit.run()
126+
@Test def munitCatsEffect = projects.munitCatsEffect.run()
125127
@Test def perspective = projects.perspective.run()
128+
@Test def scalacheckEffect = projects.scalacheckEffect.run()
126129
@Test def scodec = projects.scodec.run()
127130
@Test def scodecBits = projects.scodecBits.run()
128131
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()

0 commit comments

Comments
 (0)