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

Simplify the setup for cross-platform cross-version Scala modules #2405

Closed
lihaoyi opened this issue Apr 3, 2023 · 1 comment · Fixed by #2406
Closed

Simplify the setup for cross-platform cross-version Scala modules #2405

lihaoyi opened this issue Apr 3, 2023 · 1 comment · Fixed by #2406
Milestone

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Apr 3, 2023

This example contains a minimal example for cross-publishing some modules across {Scala-JVM,Scala.js}X{2.13.10,3.2.2}

https://github.com/com-lihaoyi/mill/blob/main/example/web/6-cross-platform-publishing/build.sc

It's pretty complicated, given that this is a very common workflow: most Scala modules will support multiple Scala versions, and many will support multiple Scala platforms. There are other ways it can be laid out (e.g. a separate Cross for each module we publish) but none of them are any simpler

We should be able to simplify this somehow

@lolgab
Copy link
Member

lolgab commented Apr 3, 2023

Previous work in this area: https://github.com/lolgab/mill-crossplatform

@lefou lefou added this to the 0.11.0-M8 milestone Apr 10, 2023
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 a pull request may close this issue.

3 participants