Skip to content

Don't do a fully binary cross of runtime, only the compiler plugin #309

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

Closed
wants to merge 2 commits into from
Closed

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Apr 27, 2021

Looking back at
ac3db32,
I'm not actually 100% sure this was accurate. While we do need to do a
fully binary publish of the actual compiler plugin, doing a full cross
of the runtime artifact causes some issues. Mainly I just don't believe
it's needed, but also then when publishing for other platforms, there is
odd behavior where you no longer get the sjs prefix that you'd want in
your artifacts published for JS. This change updates a few of the sbt
dependencies, moves to the unified slash syntax, and only applies the
full cross settings to the actual compiler plugin, not the runtime
artifact.

EDIT: See below

@blast-hardcheese Are you able to take a look at this since you originally made these changes.

This should fix the issue I mentioned having in #305

ckipp01 added 2 commits April 26, 2021 16:22
Looking back at
ac3db32,
I'm not actually 100% sure this was accurate. While we do need to do a
fully binary publish of the actual compiler plugin, doing a full cross
of the runtime artifact causes some issues. Mainly I just don't believe
it's needed, but also then when publishing for other platforms, there is
odd behavior where you no longer get the sjs prefix that you'd want in
your artifacts published for JS. This change updates a few of the sbt
dependencies, moves to the unified slash syntax, and only applies the
full cross settings to the actual compiler plugin, not the runtime
artifact.
@ckipp01
Copy link
Member Author

ckipp01 commented Apr 27, 2021

Actually looking at the test failures it does seem that the runtime also need to be published for everything 🤔. That's sort of a bummer.

I guess then the thing I'm stuck on is that I can't figure out how to cross that fully since once you set the crossVersion to full, then it seems to auto-strip the sjs prefix from the artifact.

@ckipp01 ckipp01 marked this pull request as draft April 27, 2021 08:49
@ckipp01
Copy link
Member Author

ckipp01 commented Apr 27, 2021

Closing in favor of #310

@ckipp01 ckipp01 closed this Apr 27, 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.

1 participant