Skip to content

Add http4s to community build #14071

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

Merged
merged 12 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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; ember-core/test; ember-server/test; ember-client/test; circe/test",
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