Skip to content

Commit c8fa55d

Browse files
committed
community build: Add izumi-reflect
As a dependency of latest zio upstream
1 parent b9f9347 commit c8fa55d

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-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/izumi-reflect"]
178+
path = community-build/community-projects/izumi-reflect
179+
url = https://github.com/dotty-staging/izumi-reflect.git

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ object Versions:
4040
val discipline = "1.1.3-SNAPSHOT"
4141
val disciplineMunit = "1.0.3+DOTTY-SNAPSHOT"
4242
val disciplineSpecs2 = "1.1.3-SNAPSHOT"
43+
val izumiReflect = "1.0.0-SNAPSHOT"
4344
val scalacheck = "1.15.2-SNAPSHOT"
4445
val scalatest = "3.2.3"
4546
val munit = "0.7.19+DOTTY-SNAPSHOT"
@@ -147,6 +148,7 @@ final case class SbtCommunityProject(
147148
s""""org.typelevel" %% "cats-mtl-laws_sjs1" % "${Versions.catsMtl}"""",
148149
s""""org.typelevel" %% "coop" % "${Versions.coop}"""",
149150
s""""org.typelevel" %% "coop_sjs1" % "${Versions.coop}"""",
151+
s""""dev.zio" %% "izumi-reflect" % "${Versions.izumiReflect}"""",
150152
)
151153

152154
private val baseCommand =
@@ -612,6 +614,13 @@ object projects:
612614
dependencies = List(scalaSTM, scissAsyncFile, scissEqual, scissFingerTree, scissLog, scissModel, scissNumbers, scissSerial, scissSpan, scalatest),
613615
)
614616

617+
lazy val izumiReflect = SbtCommunityProject(
618+
project = "izumi-reflect",
619+
sbtTestCommand = "test",
620+
sbtPublishCommand = "publishLocal",
621+
dependencies = List(scalatest)
622+
)
623+
615624
end projects
616625

617626
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
@@ -86,6 +86,7 @@ class CommunityBuildTestA extends CommunityBuildTest:
8686
@Test def fansi = projects.fansi.run()
8787
@Test def fastparse = projects.fastparse.run()
8888
@Test def geny = projects.geny.run()
89+
@Test def izumiReflect = projects.izumiReflect.run()
8990
@Test def oslib = projects.oslib.run()
9091
// @Test def oslibWatch = projects.oslibWatch.run()
9192
@Test def pprint = projects.pprint.run()

0 commit comments

Comments
 (0)