Skip to content

Commit 06f198f

Browse files
committed
Add parboiled2 to community build
1 parent a26a2c3 commit 06f198f

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,6 @@
250250
[submodule "community-build/community-projects/http4s"]
251251
path = community-build/community-projects/http4s
252252
url = https://github.com/dotty-staging/http4s.git
253+
[submodule "community-build/community-projects/parboiled2"]
254+
path = community-build/community-projects/parboiled2
255+
url = https://github.com/sirthias/parboiled2.git
Submodule parboiled2 added at 6281277

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

+10-1
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,14 @@ object projects:
799799
dependencies = () => List(cats, catsEffect3, fs2, disciplineMunit, scalacheckEffect)
800800
)
801801

802+
lazy val parboiled2 = SbtCommunityProject(
803+
project = "parboiled2",
804+
sbtTestCommand = "parboiledCoreJVM/test; parboiledJVM/test",
805+
sbtPublishCommand = "publishLocal",
806+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xcheck-macros"),
807+
dependencies = () => List(utest, scalatest)
808+
)
809+
802810
end projects
803811

804812
lazy val forwardCompatMapping = Map[CommunityProject, CommunityProject](
@@ -902,7 +910,8 @@ def allProjects = List(
902910
projects.coop,
903911
projects.coopForwardCompat,
904912
projects.spire,
905-
projects.http4s
913+
projects.http4s,
914+
projects.parboiled2,
906915
)
907916

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class CommunityBuildTestC:
7474
@Test def onnxScala = projects.onnxScala.run()
7575
@Test def oslib = projects.oslib.run()
7676
// @Test def oslibWatch = projects.oslibWatch.run()
77+
@Test def parboiled2 = projects.parboiled2.run()
7778
@Test def playJson = projects.playJson.run()
7879
@Test def pprint = projects.pprint.run()
7980
@Test def protoquill = projects.protoquill.run()

0 commit comments

Comments
 (0)