-
Notifications
You must be signed in to change notification settings - Fork 127
Re-enable PluginCoverageScalaJsTest
, fix dangling UndefinedParam
bug
#464
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
Changes from all commits
585ed58
61be139
e5bbd14
8da1f01
66de565
c13a068
0c69003
7b9212b
d8d2a1c
aa833a4
09f3673
695ce2d
775828f
96136e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,8 @@ lazy val root = Project("scalac-scoverage", file(".")) | |
runtimeJSDOMTest, | ||
reporter, | ||
domain, | ||
serializer | ||
serializer, | ||
buildInfo | ||
) | ||
|
||
lazy val runtime = CrossProject( | ||
|
@@ -146,7 +147,8 @@ lazy val runtimeJSDOMTest = | |
|
||
lazy val plugin = | ||
project | ||
.dependsOn(runtimeJVM % Test) | ||
// we need both runtimes compiled prior to running tests | ||
.dependsOn(runtimeJVM % Test, runtimeJS % Test) | ||
.settings( | ||
name := "scalac-scoverage-plugin", | ||
crossTarget := target.value / s"scala-${scalaVersion.value}", | ||
|
@@ -158,7 +160,7 @@ lazy val plugin = | |
.settings( | ||
Test / unmanagedSourceDirectories += (Test / sourceDirectory).value / "scala-2.12+" | ||
) | ||
.dependsOn(domain, reporter % "test->compile", serializer) | ||
.dependsOn(domain, reporter % "test->compile", serializer, buildInfo % Test) | ||
|
||
lazy val reporter = | ||
project | ||
|
@@ -179,6 +181,16 @@ lazy val reporter = | |
) | ||
.dependsOn(domain, serializer) | ||
|
||
lazy val buildInfo = | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How come we have a separate build target for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aha, yes I suppose we could. I did this because the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yea, that's sort of what I expected. No worries. Let's leave it as is. |
||
project | ||
.settings( | ||
crossScalaVersions := bin212 ++ bin213, | ||
buildInfoKeys += BuildInfoKey("scalaJSVersion", scalaJSVersion), | ||
publishArtifact := false, | ||
publishLocal := {} | ||
) | ||
.enablePlugins(BuildInfoPlugin) | ||
|
||
lazy val domain = | ||
project | ||
.settings( | ||
|
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.
Aha, it was some trickiness actually. No regression.
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.
Ah this make sense. 👍🏼 good catch.