Skip to content

Commit cc47c56

Browse files
authored
community build: Add monocle. (#11468)
1 parent 20e2b95 commit cc47c56

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@
180180
[submodule "community-build/community-projects/protoquill"]
181181
path = community-build/community-projects/protoquill
182182
url = https://github.com/dotty-staging/protoquill.git
183+
[submodule "community-build/community-projects/Monocle"]
184+
path = community-build/community-projects/Monocle
185+
url = https://github.com/dotty-staging/Monocle.git
183186
[submodule "community-build/community-projects/onnx-scala"]
184187
path = community-build/community-projects/onnx-scala
185188
url = https://github.com/dotty-staging/onnx-scala.git
Submodule Monocle added at 4613aff

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,12 @@ object projects:
660660
dependencies = List(scalatest, scalatestplusJunit, scalatestplusScalacheck)
661661
)
662662

663+
lazy val monocle = SbtCommunityProject(
664+
project = "Monocle",
665+
sbtTestCommand = "coreJVM/test; macrosJVM/test; testJVM/test",
666+
dependencies = List(cats, munit, discipline, disciplineMunit)
667+
)
668+
663669
lazy val protoquill = SbtCommunityProject(
664670
project = "protoquill",
665671
sbtTestCommand = "test",
@@ -777,6 +783,7 @@ def allProjects = List(
777783
projects.izumiReflect,
778784
projects.perspective,
779785
projects.akka,
786+
projects.monocle,
780787
projects.protoquill,
781788
projects.onnxScala,
782789
projects.playJson,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
127127
@Test def scalacheckEffect = projects.scalacheckEffect.run()
128128
@Test def scodec = projects.scodec.run()
129129
@Test def scodecBits = projects.scodecBits.run()
130+
@Test def monocle = projects.monocle.run()
130131
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
131132
end CommunityBuildTestB
132133

0 commit comments

Comments
 (0)