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

Crosscompile core to dotty #928

Merged
merged 1 commit into from Oct 22, 2020
Merged

Conversation

cquiroz
Copy link
Collaborator

@cquiroz cquiroz commented Oct 22, 2020

This PR allows to cross compile the core module to dotty and scala 2.13.3

It works locally but I had some problems with the doc task on GH actions

Fixes #925

Signed-off-by: Carlos Quiroz <carlos.m.quiroz@gmail.com>

if (!snapshot && stable) {
(version in ThisBuild).value
} else {
(previousStableVersion in ThisBuild).value.get
(previousStableVersion in ThisBuild).value.getOrElse("UNKNOWN")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've hit an error on my GH actions with this line. I'm not sure the getOrElse workaround is appropriate

Copy link
Member

Choose a reason for hiding this comment

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

I don't know either, let's merge and we'll see.

@julien-truffaut
Copy link
Member

Great work, thank you @cquiroz

@julien-truffaut julien-truffaut merged commit 21bf47e into optics-dev:master Oct 22, 2020
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.

Cross build core module to Scala 3
2 participants