Skip to content

"sbt compile" uses non-boostrapped scaladoc #11506

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 1 commit into from
Feb 24, 2021

Conversation

smarter
Copy link
Member

@smarter smarter commented Feb 22, 2021

"sbt compile" is supposed to only compile non-bootstrapped projects (so
we can rely on it working even if bootstrapping is broken while working
on the compiler for example), but scaladoc is a bootstrapped project and
it was part of the aggregate of the default project. Fixed by replacing
it with scaladoc-nonBootstrapped. To compile all bootstrapped projects
use scala3-bootstrapped/compile instead.

Also make sure the dist project uses the correct scaladoc depending on
whether it's bootstrapped or not.

"sbt compile" is supposed to only compile non-bootstrapped projects (so
we can rely on it working even if bootstrapping is broken while working
on the compiler for example), but scaladoc is a bootstrapped project and
it was part of the aggregate of the default project. Fixed by replacing
it with `scaladoc-nonBootstrapped`. To compile all bootstrapped projects
use `scala3-bootstrapped/compile` instead.

Also make sure the dist project uses the correct scaladoc depending on
whether it's bootstrapped or not.
@smarter smarter merged commit 9532e41 into scala:master Feb 24, 2021
@smarter smarter deleted the compile-scaladoc branch February 24, 2021 12:54
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