Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add http4s to community build #14071

Merged
merged 12 commits into from
Mar 9, 2022
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,6 @@
[submodule "community-build/community-projects/scalacheck-forward-compat"]
path = community-build/community-projects/scalacheck-forward-compat
url = https://github.com/dotty-staging/scalacheck
[submodule "community-build/community-projects/http4s"]
path = community-build/community-projects/http4s
url = https://github.com/dotty-staging/http4s.git
1 change: 1 addition & 0 deletions community-build/community-projects/http4s
Submodule http4s added at fc0a18
12 changes: 11 additions & 1 deletion community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,14 @@ object projects:
dependencies = () => List(cats, disciplineMunit)
)

lazy val http4s = SbtCommunityProject(
project = "http4s",
sbtTestCommand = "tests/test server/test client/test emberCore/test emberServer/test emberClient/test circe/test",
armanbilge marked this conversation as resolved.
Show resolved Hide resolved
sbtPublishCommand = "publishLocal",
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Ysafe-init"),
dependencies = () => List(cats, catsEffect3, fs2, disciplineMunit, scalacheckEffect)
)

end projects

lazy val forwardCompatMapping = Map[CommunityProject, CommunityProject](
Expand Down Expand Up @@ -892,7 +900,9 @@ def allProjects = List(
projects.jacksonModuleScala,
projects.specs2,
projects.coop,
projects.coopForwardCompat
projects.coopForwardCompat,
projects.spire,
projects.http4s
)

lazy val projectMap = allProjects.groupBy(_.project)
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class CommunityBuildTestB:
@Test def scodecBits = projects.scodecBits.run()
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
@Test def spire = projects.spire.run()
@Test def http4s = projects.http4s.run()
end CommunityBuildTestB

@Category(Array(classOf[TestCategory]))
Expand Down