Skip to content

Commit de78e32

Browse files
Add PPrint, fansi and requests-scala to the community build
1 parent 36d90aa commit de78e32

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@
100100
[submodule "community-build/community-projects/scas"]
101101
path = community-build/community-projects/scas
102102
url = https://github.com/dotty-staging/scas.git
103+
[submodule "community-build/community-projects/fansi"]
104+
path = community-build/community-projects/fansi
105+
url = https://github.com/dotty-staging/fansi.git
106+
[submodule "community-build/community-projects/PPrint"]
107+
path = community-build/community-projects/PPrint
108+
url = https://github.com/dotty-staging/PPrint.git
109+
[submodule "community-build/community-projects/requests-scala"]
110+
path = community-build/community-projects/requests-scala
111+
url = https://github.com/dotty-staging/requests-scala.git
103112
[submodule "community-build/community-projects/cats-effect-2"]
104113
path = community-build/community-projects/cats-effect-2
105114
url = https://github.com/dotty-staging/cats-effect.git
Submodule PPrint added at 5f9e4d5
Submodule fansi added at 2b6c6a9

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

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,36 @@ object projects:
134134
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck, geny, utest)
135135
)
136136

137+
lazy val upickleCore = MillCommunityProject(
138+
project = "upickle",
139+
baseCommand = s"core.jvm[$compilerVersion]",
140+
dependencies = List(scalatest, scalacheck, scalatestplusScalacheck, geny, utest)
141+
)
142+
137143
lazy val geny = MillCommunityProject(
138144
project = "geny",
139145
baseCommand = s"geny.jvm[$compilerVersion]",
140146
dependencies = List(utest)
141147
)
142148

149+
lazy val fansi = MillCommunityProject(
150+
project = "fansi",
151+
baseCommand = s"fansi.jvm[$compilerVersion]",
152+
dependencies = List(utest, sourcecode)
153+
)
154+
155+
lazy val pprint = MillCommunityProject(
156+
project = "PPrint",
157+
baseCommand = s"pprint.jvm[$compilerVersion]",
158+
dependencies = List(fansi)
159+
)
160+
161+
lazy val requests = MillCommunityProject(
162+
project = "requests-scala",
163+
baseCommand = s"requests[$compilerVersion]",
164+
dependencies = List(geny, utest, ujson, upickleCore)
165+
)
166+
143167
lazy val scas = MillCommunityProject(
144168
project = "scas",
145169
baseCommand = "scas.application"
@@ -402,8 +426,11 @@ class CommunityBuildTest:
402426
@Test def squants = projects.squants.run()
403427
@Test def stdLib213 = projects.stdLib213.run()
404428
@Test def ujson = projects.ujson.run()
405-
// @Test def upickle = projects.upickle.run()
429+
@Test def upickle = projects.upickle.run()
406430
@Test def utest = projects.utest.run()
431+
@Test def fansi = projects.fansi.run()
432+
@Test def pprint = projects.pprint.run()
433+
@Test def requests = projects.requests.run()
407434
@Test def xmlInterpolator = projects.xmlInterpolator.run()
408435
@Test def zio = projects.zio.run()
409436
end CommunityBuildTest

0 commit comments

Comments
 (0)