-
Notifications
You must be signed in to change notification settings - Fork 75
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
Scala-Native 0.5.0 support #154
Conversation
build.sc
Outdated
@@ -28,7 +24,7 @@ trait SourcecodeModule extends PublishModule with MimaCheck { | |||
// Temporary until the next version of Mima gets released with | |||
// https://github.com/lightbend/mima/issues/693 included in the release. | |||
def mimaPreviousArtifacts = | |||
if(isScala3(crossScalaVersion)) Agg.empty[Dep] else super.mimaPreviousArtifacts() | |||
if(crossScalaVersion.startsWith("3.")) Agg.empty[Dep] else super.mimaPreviousArtifacts() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isScala3
still exists but is inside ZincWorkerUtil
now I believe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
def scalaNativeVersion = "0.5.0" | ||
object test extends ScalaNativeTests{ | ||
// stub to make use of test plumbing but not running a test suite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we run tests on Scala Native?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lolgab sourcecode doesnt use a test framework, it just runs through the asserts starting from def main
. But the build level plumbing for nested test modules w.r.t. cross version and cross platform modules is very handy, so I'm abusing it a bit
This required a Mill version upgrade to 0.11.x, which involved cleaning up a lot of now-unnecessary boilerplate in the
build.sc
.Same version changes as elsewhere: drop 2.11.x/3.1.x/3.2.x support, add Scala-Native 0.5.0