Skip to content

Commit

Permalink
Add perspective to the community build (#10750)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrix committed Feb 5, 2021
1 parent b66b8dd commit 8b1188b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,7 @@
[submodule "community-build/community-projects/izumi-reflect"]
path = community-build/community-projects/izumi-reflect
url = https://github.com/dotty-staging/izumi-reflect.git
[submodule "community-build/community-projects/perspective"]
path = community-build/community-projects/perspective
url = https://github.com/dotty-staging/perspective.git
branch = dotty/nightly
1 change: 1 addition & 0 deletions community-build/community-projects/perspective
Submodule perspective added at f0525c
9 changes: 9 additions & 0 deletions community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,14 @@ object projects:
sbtPublishCommand = "publishLocal",
dependencies = List(scalatest)
)

lazy val perspective = SbtCommunityProject(
project = "perspective",
// No library with easy typeclasses to verify data against exist for Dotty, so no tests yet
// Until then I guess this mainly serves to check that it still compiles at all
sbtTestCommand = "dottyPerspectiveExamples/compile",
dependencies = List(cats)
)

end projects

Expand Down Expand Up @@ -691,6 +699,7 @@ def allProjects = List(
projects.scalaSTM,
projects.scissLucre,
projects.izumiReflect,
projects.perspective,
)

lazy val projectMap = allProjects.map(p => p.project -> p).toMap
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
@Test def verify = projects.verify.run()
@Test def xmlInterpolator = projects.xmlInterpolator.run()
@Test def perspective = projects.perspective.run()

end CommunityBuildTestB

Expand Down

0 comments on commit 8b1188b

Please sign in to comment.