Skip to content

Commit fe2fcc4

Browse files
Merge pull request #12558 from TomasMikula/libretto
Add Libretto to community build.
2 parents 896c9bb + afce97d commit fe2fcc4

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,6 @@
201201
[submodule "community-build/community-projects/fs2"]
202202
path = community-build/community-projects/fs2
203203
url = https://github.com/dotty-staging/fs2.git
204+
[submodule "community-build/community-projects/libretto"]
205+
path = community-build/community-projects/libretto
206+
url = https://github.com/dotty-staging/libretto.git
Submodule libretto added at d229f3c

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,13 @@ object projects:
691691
dependencies = List(cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits)
692692
)
693693

694+
lazy val libretto = SbtCommunityProject(
695+
project = "libretto",
696+
sbtTestCommand = "core/test; examples/compile",
697+
sbtPublishCommand = "core/publishLocal; examples/publishLocal",
698+
dependencies = List(scalatest)
699+
)
700+
694701
end projects
695702

696703
def allProjects = List(
@@ -765,6 +772,7 @@ def allProjects = List(
765772
projects.munitCatsEffect,
766773
projects.scalacheckEffect,
767774
projects.fs2,
775+
projects.libretto,
768776
)
769777

770778
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
@@ -144,6 +144,7 @@ class CommunityBuildTestC extends CommunityBuildTest:
144144
@Test def fastparse = projects.fastparse.run()
145145
@Test def geny = projects.geny.run()
146146
@Test def intent = projects.intent.run()
147+
@Test def libretto = projects.libretto.run()
147148
@Test def minitest = projects.minitest.run()
148149
@Test def onnxScala = projects.onnxScala.run()
149150
@Test def oslib = projects.oslib.run()

0 commit comments

Comments
 (0)