diff --git a/.gitmodules b/.gitmodules index 6721cb79e742..9a85a0254e85 100644 --- a/.gitmodules +++ b/.gitmodules @@ -201,3 +201,6 @@ [submodule "community-build/community-projects/fs2"] path = community-build/community-projects/fs2 url = https://github.com/dotty-staging/fs2.git +[submodule "community-build/community-projects/libretto"] + path = community-build/community-projects/libretto + url = https://github.com/dotty-staging/libretto.git diff --git a/community-build/community-projects/libretto b/community-build/community-projects/libretto new file mode 160000 index 000000000000..d229f3ccb9c4 --- /dev/null +++ b/community-build/community-projects/libretto @@ -0,0 +1 @@ +Subproject commit d229f3ccb9c49aa3b0fef1b3f7425e986155cc97 diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 70b7a474022d..2e7d63ef432e 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -691,6 +691,13 @@ object projects: dependencies = List(cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits) ) + lazy val libretto = SbtCommunityProject( + project = "libretto", + sbtTestCommand = "core/test; examples/compile", + sbtPublishCommand = "core/publishLocal; examples/publishLocal", + dependencies = List(scalatest) + ) + end projects def allProjects = List( @@ -765,6 +772,7 @@ def allProjects = List( projects.munitCatsEffect, projects.scalacheckEffect, projects.fs2, + projects.libretto, ) lazy val projectMap = allProjects.groupBy(_.project) diff --git a/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala b/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala index 06425cbe6ff9..e5a77ff33c4f 100644 --- a/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala +++ b/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala @@ -144,6 +144,7 @@ class CommunityBuildTestC extends CommunityBuildTest: @Test def fastparse = projects.fastparse.run() @Test def geny = projects.geny.run() @Test def intent = projects.intent.run() + @Test def libretto = projects.libretto.run() @Test def minitest = projects.minitest.run() @Test def onnxScala = projects.onnxScala.run() @Test def oslib = projects.oslib.run()