Skip to content

Add scodec to the community build #8590

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
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
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,11 @@
[submodule "community-build/community-projects/munit"]
path = community-build/community-projects/munit
url = https://github.com/dotty-staging/munit.git
[submodule "community-build/community-projects/scodec"]
path = community-build/community-projects/scodec
url = https://github.com/dotty-staging/scodec.git
branch = dotty-community-build
[submodule "community-build/community-projects/scodec-bits"]
path = community-build/community-projects/scodec-bits
url = https://github.com/dotty-staging/scodec-bits.git
branch = dotty-community-build
1 change: 1 addition & 0 deletions community-build/community-projects/scodec
Submodule scodec added at b26aef
1 change: 1 addition & 0 deletions community-build/community-projects/scodec-bits
Submodule scodec-bits added at df031e
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,21 @@ object projects:
sbtUpdateCommand = "munitJVM/update",
)

lazy val scodecBits = SbtCommunityProject(
project = "scodec-bits",
sbtTestCommand = "coreJVM/test",
sbtUpdateCommand = "coreJVM/update",
sbtPublishCommand = "coreJVM/publishLocal",
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck)
)

lazy val scodec = SbtCommunityProject(
project = "scodec",
sbtTestCommand = "unitTests/test",
sbtUpdateCommand = ";coreJVM/update; unitTests/update",
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck, scodecBits)
)

end projects

@Category(Array(classOf[TestCategory]))
Expand Down Expand Up @@ -367,6 +382,8 @@ class CommunityBuildTest:
@Test def sconfig = projects.sconfig.run()
@Test def zio = projects.zio.run()
@Test def munit = projects.munit.run()
@Test def scodecBits = projects.scodecBits.run()
@Test def scodec = projects.scodec.run()
end CommunityBuildTest

class TestCategory
Expand Down