Skip to content

Commit b9f0908

Browse files
Add os-lib to the community build
1 parent f41acb1 commit b9f0908

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@
5959
[submodule "community-build/community-projects/utest"]
6060
path = community-build/community-projects/utest
6161
url = https://github.com/dotty-staging/utest.git
62+
[submodule "community-build/community-projects/os-lib"]
63+
path = community-build/community-projects/os-lib
64+
url = https://github.com/dotty-staging/os-lib.git
Submodule os-lib added at 9eb7e55

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@ class CommunityBuildTest {
104104
extraMillArgs = List("-i", "-D", s"dottyVersion=$compilerVersion")
105105
)
106106

107+
@Test def oslib = testMill(
108+
project = "os-lib",
109+
testCommand = s"os[$compilerVersion].test",
110+
extraMillArgs = List("-i", "-D", s"dottyVersion=$compilerVersion")
111+
)
112+
113+
@Test def oslibWatch = testMill(
114+
project = "os-lib",
115+
testCommand = s"os.watch[$compilerVersion].test",
116+
extraMillArgs = List("-i", "-D", s"dottyVersion=$compilerVersion")
117+
)
118+
107119
@Test def intent = testSbt(
108120
project = "intent",
109121
testCommand = "test",

0 commit comments

Comments
 (0)