Skip to content

Ensure js artifact has sjs preface #310

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 1 commit into from
Closed

Ensure js artifact has sjs preface #310

wants to merge 1 commit into from

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Apr 27, 2021

Another attempt at #305

build.sbt Outdated
@@ -83,6 +83,7 @@ lazy val runtime = CrossProject("scalac-scoverage-runtime", file("scalac-scovera
fork in Test := true
)
.jsSettings(
name := name.value + "_s" + crossProjectPlatform.value.identifier,
Copy link
Member Author

@ckipp01 ckipp01 Apr 27, 2021

Choose a reason for hiding this comment

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

Yea this won't work either actually...

Because we are doing a full cross release here, that means in the sbt plugin we also need to target it like so:

https://github.com/scoverage/sbt-scoverage/blob/aaff04cc6e79e48418a22ec21d15e9d8d96c3dde/src/main/scala/scoverage/ScoverageSbtPlugin.scala#L60

When doing this. during the js tests it will then fail since it'll be looking for _sjs1.0_2.12-1.4.3-SNAPSHOT.

not found: /Users/ckipp/.ivy2/local/org.scoverage/scalac-scoverage-runtime_sjs1.0_2.12/1.4.3-SNAPSHOT/ivys/ivy.xml

It's odd because it seems that doing the full cross release and the js stuff here together is really screwing with things as it's now looking for the full scalajs version instead of the fully binary Scala version. I don't fully get what's going on here.

@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