From 990d50701ebb1223a6aa6e61d6902c4eda54c148 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 14 Apr 2024 22:26:22 +0800 Subject: [PATCH] Restrict Mima to just JVM builds (#74) --- build.sc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sc b/build.sc index 3b3860e..51da98a 100644 --- a/build.sc +++ b/build.sc @@ -36,6 +36,10 @@ trait MimaCheck extends Mima { ProblemFilter.exclude[DirectMissingMethodProblem]("geny.ByteData.string"), ProblemFilter.exclude[DirectMissingMethodProblem]("geny.ByteData#Chunks.string") ) + + def mimaReportBinaryIssues() = + if (this.isInstanceOf[ScalaNativeModule] || this.isInstanceOf[ScalaJSModule]) T.command() + else super.mimaReportBinaryIssues() }