Skip to content

Commit 9e328c0

Browse files
committed
Add perspective to the community build
1 parent a34130f commit 9e328c0

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,6 @@
174174
[submodule "community-build/community-projects/scalatestplus-junit"]
175175
path = community-build/community-projects/scalatestplus-junit
176176
url = https://github.com/dotty-staging/scalatestplus-junit.git
177+
[submodule "community-build/community-projects/perspective"]
178+
path = community-build/community-projects/perspective
179+
url = https://github.com/Katrix/perspective.git
Submodule perspective added at 9dc8d24

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,13 @@ object projects:
612612
dependencies = List(scalaSTM, scissAsyncFile, scissEqual, scissFingerTree, scissLog, scissModel, scissNumbers, scissSerial, scissSpan, scalatest),
613613
)
614614

615+
lazy val perspective = SbtCommunityProject(
616+
project = "perspective",
617+
// No library with easy typeclasses to verify data against exist for Dotty, so no tests yet
618+
// Until then I guess this mainly serves to check that it still compiles at all
619+
sbtTestCommand = "dottyPerspectiveExamples/compile",
620+
)
621+
615622
end projects
616623

617624
def allProjects = projects.reflectedFields.of[CommunityProject].sortBy(_.project)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
147147
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
148148
@Test def verify = projects.verify.run()
149149
@Test def xmlInterpolator = projects.xmlInterpolator.run()
150+
@Test def perspective = projects.perspective.run()
150151

151152
end CommunityBuildTestB
152153

0 commit comments

Comments
 (0)