Skip to content

Commit ed6b21d

Browse files
committed
Added monocle.
1 parent 9254ef6 commit ed6b21d

29 files changed

+39
-25
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
Submodule Lucre updated 296 files
Submodule Monocle added at 8eea9f4
Submodule dotty-cps-async updated 38 files
Submodule fansi updated 1 file
Submodule intent updated 49 files
Submodule minitest updated 35 files

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"
@@ -655,6 +656,13 @@ object projects:
655656
dependencies = List(scalatest, scalatestplusJunit, scalatestplusScalacheck)
656657
)
657658

659+
lazy val monocle = SbtCommunityProject(
660+
project = "Monocle",
661+
sbtTestCommand = "test",
662+
dependencies = List(scalatest, cats, shapeless, munit, discipline, disciplineMunit)
663+
)
664+
665+
658666
end projects
659667

660668
def allProjects = List(
@@ -720,6 +728,7 @@ def allProjects = List(
720728
projects.izumiReflect,
721729
projects.perspective,
722730
projects.akka,
731+
projects.monocle,
723732
)
724733

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

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

Lines changed: 1 addition & 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()

0 commit comments

Comments
 (0)