Skip to content

Commit 581cef9

Browse files
committed
fix: set the classDirectory in scala3-library to the one in scala-library
1 parent 96849c4 commit 581cef9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

project/Build.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,8 @@ object Build {
12511251
Test / doc := (`scala-library-nonbootstrapped` / Test / doc).value,
12521252
Test / run := (`scala-library-nonbootstrapped` / Test / run).evaluated,
12531253
Test / test := (`scala-library-nonbootstrapped` / Test / test).value,
1254+
// Claim that the classes generated by this project are the same as the one we get from `scala-library-nonbootstrapped`
1255+
Compile / classDirectory := (`scala-library-nonbootstrapped` / Compile / classDirectory).value,
12541256
// Packaging configuration of the stdlib
12551257
Compile / packageBin / publishArtifact := true,
12561258
Compile / packageDoc / publishArtifact := false,
@@ -1371,6 +1373,8 @@ object Build {
13711373
Test / compile := (`scala-library-bootstrapped` / Test / compile).value,
13721374
Test / doc := (`scala-library-bootstrapped` / Test / doc).value,
13731375
Test / run := (`scala-library-bootstrapped` / Test / run).evaluated,
1376+
// Claim that the classes generated by this project are the same as the one we get from `scala-library-bootstrapped`
1377+
Compile / classDirectory := (`scala-library-bootstrapped` / Compile / classDirectory).value,
13741378
// Packaging configuration of the stdlib
13751379
Compile / packageBin / publishArtifact := true,
13761380
Compile / packageDoc / publishArtifact := false,

0 commit comments

Comments
 (0)