Skip to content
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

Editions Integration #1832

Merged
merged 17 commits into from
Jul 8, 2021
Merged

Editions Integration #1832

merged 17 commits into from
Jul 8, 2021

Conversation

radeusgd
Copy link
Member

@radeusgd radeusgd commented Jul 7, 2021

Pull Request Description

Closes #1781, integrates the functionality of #1826 with the editions system and updates the layout of the Standard library to comply with the new library layout.

Important Notes

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Scala, Java, and Rust style guides.
  • All documentation and configuration conforms to the markdown and YAML style guides.
  • All code has been tested where possible.

@radeusgd radeusgd force-pushed the wip/rw/editions-integration branch from ca85414 to 8c0269c Compare July 7, 2021 14:54
Comment on lines -160 to +164
.replace("std-lib/", "std-lib/" + outDir + "/")
.replace("lib/Standard/", outDir + "/")
.replace("Main.js", "index.js")
// TODO [RW] update this once library versions are changing
.replace("/0.1.0/", "/")
Copy link
Member Author

Choose a reason for hiding this comment

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

@BinarySoftware can you have a look at it?

The docs seem to run, but I'm not exactly sure what these artifacts should look like so it is hard to tell if I didn't break something in a more subtle way. Would really appreciate if you could double check if these changes did not break the docs.

Copy link
Contributor

Choose a reason for hiding this comment

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

why not just repace by regex?

from /0.1.0/ to \/\d+\.\d+\.\d+\/?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because currently the version is hardcoded anyway and once it is changed, this regex will not suffice (as the version can contain a SNAPSHOT suffix and other stuff).

Since this will need to be changed anyway (or maybe will be completely changed before the version stops being hardcoded), I don't think a regex is necessary now.

@radeusgd radeusgd marked this pull request as ready for review July 7, 2021 23:50
Copy link
Contributor

@kustosz kustosz left a comment

Choose a reason for hiding this comment

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

Jest piękny, it's beautiful

.github/workflows/scala.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@BinarySoftware BinarySoftware left a comment

Choose a reason for hiding this comment

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

B-E-autiful

@radeusgd radeusgd force-pushed the wip/rw/editions-integration branch from 3dd18d8 to 4ab241f Compare July 8, 2021 12:07
@radeusgd radeusgd merged commit b58e895 into main Jul 8, 2021
@radeusgd radeusgd deleted the wip/rw/editions-integration branch July 8, 2021 13:38
iamrecursion pushed a commit that referenced this pull request Jul 9, 2021
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.

Dynamically Loading Libraries
4 participants