Skip to content

Commit 1dc7b37

Browse files
committed
Add scodec to the community build
1 parent d0bab30 commit 1dc7b37

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@
7474
[submodule "community-build/community-projects/munit"]
7575
path = community-build/community-projects/munit
7676
url = https://github.com/dotty-staging/munit.git
77+
[submodule "community-build/community-projects/scodec"]
78+
path = community-build/community-projects/scodec
79+
url = https://github.com/dotty-staging/scodec.git
80+
branch = dotty-community-build
81+
[submodule "community-build/community-projects/scodec-bits"]
82+
path = community-build/community-projects/scodec-bits
83+
url = https://github.com/dotty-staging/scodec-bits.git
84+
branch = dotty-community-build
Submodule scodec added at b26aef8
Submodule scodec-bits added at df031e5

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,21 @@ object projects:
281281
sbtUpdateCommand = "munitJVM/update",
282282
)
283283

284+
lazy val scodecBits = SbtCommunityProject(
285+
project = "scodec-bits",
286+
sbtTestCommand = "coreJVM/test",
287+
sbtUpdateCommand = "coreJVM/update",
288+
sbtPublishCommand = "coreJVM/publishLocal",
289+
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck)
290+
)
291+
292+
lazy val scodec = SbtCommunityProject(
293+
project = "scodec",
294+
sbtTestCommand = "unitTests/test",
295+
sbtUpdateCommand = ";coreJVM/update; unitTests/update",
296+
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck, scodecBits)
297+
)
298+
284299
end projects
285300

286301
@Category(Array(classOf[TestCategory]))
@@ -367,6 +382,8 @@ class CommunityBuildTest:
367382
@Test def sconfig = projects.sconfig.run()
368383
@Test def zio = projects.zio.run()
369384
@Test def munit = projects.munit.run()
385+
@Test def scodecBits = projects.scodecBits.run()
386+
@Test def scodec = projects.scodec.run()
370387
end CommunityBuildTest
371388

372389
class TestCategory

0 commit comments

Comments
 (0)