Skip to content

Commit bfde502

Browse files
committed
Added monocle.
1 parent aa7c21e commit bfde502

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,6 @@
184184
[submodule "community-build/community-projects/akka"]
185185
path = community-build/community-projects/akka
186186
url = https://github.com/dotty-staging/akka.git
187+
[submodule "community-build/community-projects/Monocle"]
188+
path = community-build/community-projects/Monocle
189+
url = https://github.com/optics-dev/Monocle.git

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ object Versions:
4343
val izumiReflect = "1.0.0-SNAPSHOT"
4444
val scalacheck = "1.15.2-SNAPSHOT"
4545
val scalatest = "3.2.3"
46+
val monocle = "3.0.0-M2"
4647
val munit = "0.7.19+DOTTY-SNAPSHOT"
4748
val scodecBits = "1.1+DOTTY-SNAPSHOT"
4849
val simulacrumScalafix = "0.5.1-SNAPSHOT"
@@ -660,6 +661,13 @@ object projects:
660661
dependencies = List(scalatest, scalatestplusJunit, scalatestplusScalacheck)
661662
)
662663

664+
lazy val monocle = SbtCommunityProject(
665+
project = "Monocle",
666+
sbtTestCommand = "test",
667+
dependencies = List(scalatest, cats, shapeless, munit, discipline, disciplineMunit)
668+
)
669+
670+
663671
end projects
664672

665673
def allProjects = List(
@@ -725,6 +733,7 @@ def allProjects = List(
725733
projects.izumiReflect,
726734
projects.perspective,
727735
projects.akka,
736+
projects.monocle,
728737
)
729738

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class CommunityBuildTestA extends CommunityBuildTest:
9292
@Test def fastparse = projects.fastparse.run()
9393
@Test def geny = projects.geny.run()
9494
@Test def izumiReflect = projects.izumiReflect.run()
95+
@Test def monocle = projects.monocle.run()
9596
@Test def oslib = projects.oslib.run()
9697
// @Test def oslibWatch = projects.oslibWatch.run()
9798
@Test def pprint = projects.pprint.run()
@@ -158,3 +159,4 @@ class CommunityBuildTestB extends CommunityBuildTest:
158159
end CommunityBuildTestB
159160

160161
class TestCategory
162+

0 commit comments

Comments
 (0)