Skip to content

Commit 5364af2

Browse files
authored
Restrict Mima to just JVM builds (#155)
1 parent 060fe30 commit 5364af2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ val scalaVersions =
1313

1414
trait MimaCheck extends Mima {
1515
def mimaPreviousVersions = Seq("0.2.4", "0.2.5", "0.2.6", "0.2.7", "0.2.8", "0.3.0", "0.3.1")
16+
17+
def mimaReportBinaryIssues() =
18+
if (this.isInstanceOf[ScalaNativeModule] || this.isInstanceOf[ScalaJSModule]) T.command()
19+
else super.mimaReportBinaryIssues()
1620
}
1721

1822
trait SourcecodeModule extends PublishModule with MimaCheck {

0 commit comments

Comments
 (0)