Skip to content

Added scopt. #11625

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

Closed
wants to merge 5 commits into from
Closed
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 @@ -184,6 +184,9 @@
[submodule "community-build/community-projects/protoquill"]
path = community-build/community-projects/protoquill
url = https://github.com/dotty-staging/protoquill.git
[submodule "community-build/community-projects/scopt"]
path = community-build/community-projects/scopt
url = https://github.com/scopt/scopt.git
[submodule "community-build/community-projects/onnx-scala"]
path = community-build/community-projects/onnx-scala
url = https://github.com/dotty-staging/onnx-scala.git
Expand Down
1 change: 1 addition & 0 deletions community-build/community-projects/scopt
Submodule scopt added at 0f609e
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 @@ -438,6 +438,14 @@ object projects:
requiresExperimental = true,
)

lazy val scopt = SbtCommunityProject(
project = "scopt",
sbtTestCommand = "scoptJVM/test",
sbtPublishCommand = "scoptJVM/publishLocal",
dependencies = List(verify)
)


lazy val scalaParserCombinators = SbtCommunityProject(
project = "scala-parser-combinators",
sbtTestCommand = "parserCombinatorsJVM/test",
Expand Down Expand Up @@ -508,7 +516,8 @@ object projects:
project = "verify",
sbtTestCommand = "verifyJVM/test",
sbtDocCommand = "verifyJVM/doc",
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xcheck-macros") // TODO enable -Xcheck-macros
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xcheck-macros"), // TODO enable -Xcheck-macros
sbtPublishCommand = "verifyJVM/publishLocal",
)

lazy val discipline = SbtCommunityProject(
Expand Down Expand Up @@ -729,6 +738,7 @@ def allProjects = List(
projects.discipline,
projects.disciplineMunit,
projects.disciplineSpecs2,
projects.scopt,
projects.simulacrumScalafixAnnotations,
projects.cats,
projects.catsMtl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ class CommunityBuildTestC extends CommunityBuildTest:
@Test def scalaz = projects.scalaz.run()
@Test def scas = projects.scas.run()
@Test def sconfig = projects.sconfig.run()
@Test def scopt = projects.scopt.run()
@Test def shapeless = projects.shapeless.run()
@Test def sourcecode = projects.sourcecode.run()
@Test def stdLib213 = projects.stdLib213.run()
Expand All @@ -170,3 +171,4 @@ class CommunityBuildTestC extends CommunityBuildTest:
@Test def verify = projects.verify.run()
@Test def xmlInterpolator = projects.xmlInterpolator.run()
end CommunityBuildTestC