Skip to content

Commit 37d97bc

Browse files
committed
Add parboiled2 to community build
1 parent 0761c50 commit 37d97bc

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
@@ -219,3 +219,6 @@
219219
[submodule "community-build/community-projects/http4s"]
220220
path = community-build/community-projects/http4s
221221
url = https://github.com/dotty-staging/http4s.git
222+
[submodule "community-build/community-projects/parboiled2"]
223+
path = community-build/community-projects/parboiled2
224+
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
@@ -761,6 +761,14 @@ object projects:
761761
dependencies = List(cats, catsEffect3, fs2, disciplineMunit, scalacheckEffect)
762762
)
763763

764+
lazy val parboiled2 = SbtCommunityProject(
765+
project = "parboiled2",
766+
sbtTestCommand = "parboiledCoreJVM/test; parboiledJVM/test",
767+
sbtPublishCommand = "publishLocal",
768+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xcheck-macros"),
769+
dependencies = () => List(utest, scalatest)
770+
)
771+
764772
end projects
765773

766774
def allProjects = List(
@@ -841,7 +849,8 @@ def allProjects = List(
841849
projects.specs2,
842850
projects.coop,
843851
projects.spire,
844-
projects.http4s
852+
projects.http4s,
853+
projects.parboiled2,
845854
)
846855

847856
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)