Skip to content

Commit

Permalink
Avoid test and run where not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich committed Jan 26, 2021
1 parent 37893a1 commit f746118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ lazy val sjavatime = crossProject(JSPlatform, NativePlatform)
.crossType(CrossType.Full)
.settings(commonSettings)
.settings(
Test / test := {},
mappings in (Compile, packageBin) ~= {
_.filter(!_._2.endsWith(".class"))
}
Expand All @@ -75,6 +76,7 @@ lazy val sjavatime = crossProject(JSPlatform, NativePlatform)
crossScalaVersions := versionsJS
)
.nativeSettings(
Compile / run := {},
crossScalaVersions := versionsNative,
logLevel := Level.Info // Info or Debug
)
Expand Down

0 comments on commit f746118

Please sign in to comment.