Skip to content

Commit 90766d4

Browse files
authored
Add http4s to community build (#14071)
1 parent 29073f1 commit 90766d4

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,6 @@
247247
[submodule "community-build/community-projects/scalacheck-forward-compat"]
248248
path = community-build/community-projects/scalacheck-forward-compat
249249
url = https://github.com/dotty-staging/scalacheck
250+
[submodule "community-build/community-projects/http4s"]
251+
path = community-build/community-projects/http4s
252+
url = https://github.com/dotty-staging/http4s.git
Submodule http4s added at fc0a18d

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,14 @@ object projects:
791791
dependencies = () => List(cats, disciplineMunit)
792792
)
793793

794+
lazy val http4s = SbtCommunityProject(
795+
project = "http4s",
796+
sbtTestCommand = "tests/test; server/test; client/test; ember-core/test; ember-server/test; ember-client/test; circe/test",
797+
sbtPublishCommand = "publishLocal",
798+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Ysafe-init"),
799+
dependencies = () => List(cats, catsEffect3, fs2, disciplineMunit, scalacheckEffect)
800+
)
801+
794802
end projects
795803

796804
lazy val forwardCompatMapping = Map[CommunityProject, CommunityProject](
@@ -892,7 +900,9 @@ def allProjects = List(
892900
projects.jacksonModuleScala,
893901
projects.specs2,
894902
projects.coop,
895-
projects.coopForwardCompat
903+
projects.coopForwardCompat,
904+
projects.spire,
905+
projects.http4s
896906
)
897907

898908
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
@@ -52,6 +52,7 @@ class CommunityBuildTestB:
5252
@Test def scodecBits = projects.scodecBits.run()
5353
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
5454
@Test def spire = projects.spire.run()
55+
@Test def http4s = projects.http4s.run()
5556
end CommunityBuildTestB
5657

5758
@Category(Array(classOf[TestCategory]))

0 commit comments

Comments
 (0)