Skip to content

Commit 4e7ff2a

Browse files
committed
Add ReactiveMongo-BSON to community-build
1 parent 17d2f45 commit 4e7ff2a

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,6 @@
219219
[submodule "community-build/community-projects/spire"]
220220
path = community-build/community-projects/spire
221221
url = https://github.com/dotty-staging/spire.git
222+
[submodule "community-build/community-projects/ReactiveMongo-BSON"]
223+
path = community-build/community-projects/ReactiveMongo-BSON
224+
url = https://github.com/ReactiveMongo/ReactiveMongo-BSON.git

community-build/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ To add your project to the community build you can follow these steps:
1818
2. Open a PR against this repo that:
1919
- Adds your project as a new git submodule
2020
- `git submodule add https://github.com/lampepfl/XYZ.git community-build/community-projects/XYZ`
21-
- Add the project to [projects.scala](https://github.com/lampepfl/dotty/blob/master/community-build/src/scala/dotty/communitybuild/projects.scala)
22-
- Adds a test in [CommunityBuildTest.scala](https://github.com/lampepfl/dotty/blob/master/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala)
21+
- Add the project to [projects.scala](https://github.com/lampepfl/dotty/blob/master/community-build/src/scala/dotty/communitybuild/projects.scala).
22+
- Adds a test in [CommunityBuildTest.scala](https://github.com/lampepfl/dotty/blob/master/community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala).
23+
- Make sure the test supports `-Ysafe-init`.

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

+8
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,13 @@ object projects:
745745
dependencies = List(cats, disciplineMunit)
746746
)
747747

748+
lazy val ReactiveMongoBson = SbtCommunityProject(
749+
project = "ReactiveMongo-BSON",
750+
sbtTestCommand = "api/testOnly",
751+
sbtPublishCommand = "api/publishLocal",
752+
dependencies = List()
753+
)
754+
748755
end projects
749756

750757
def allProjects = List(
@@ -824,6 +831,7 @@ def allProjects = List(
824831
projects.libretto,
825832
projects.jacksonModuleScala,
826833
projects.specs2,
834+
projects.ReactiveMongoBson,
827835
)
828836

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,5 @@ class CommunityBuildTestC:
9999
@Test def utest = projects.utest.run()
100100
@Test def verify = projects.verify.run()
101101
@Test def xmlInterpolator = projects.xmlInterpolator.run()
102+
@Test def reactiveMongoBson = projects.ReactiveMongoBson.run()
102103
end CommunityBuildTestC

0 commit comments

Comments
 (0)