Skip to content

Scala3doc: fix issues with loading stdlib #10340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 18, 2020

Conversation

abgruszecki
Copy link
Contributor

No description provided.

@abgruszecki abgruszecki force-pushed the load-stdlib branch 2 times, most recently from 0875367 to 7d9e02a Compare November 18, 2020 16:05
@@ -1506,15 +1508,24 @@ object Build {
(`scala3-interfaces`/Compile/products).value,
(`tasty-core-bootstrapped`/Compile/products).value,
(`scala3-library-bootstrapped`/Compile/products).value,
// TODO we can't load stdlib from Tasty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO we should leave this here until we will be able to generate stdlib togeter with rest of Scala3 jars

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a similar comment above, where we define generateScala3StdlibDocumentation.

).flatten

val roots = joinProducts(dottyJars)

if (dottyJars.isEmpty) Def.task { streams.value.log.error("Dotty lib wasn't found") }
else generateDocumentation(roots, "Scala 3", "scala3", "-p scala3doc/scala3-docs --projectLogo scala3doc/scala3-docs/logo.svg --revision master")
}.value,

generateScala3StdlibDocumentation:= Def.taskDyn {
val dottyJars: Seq[java.io.File] = Seq(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be stdLibJars

@abgruszecki abgruszecki merged commit 4bbbcfc into scala:master Nov 18, 2020
@abgruszecki abgruszecki deleted the load-stdlib branch November 18, 2020 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants