Skip to content

Commit

Permalink
Temporarily disable --strict-bloop-json-check=false in build
Browse files Browse the repository at this point in the history
This option should speed up compilation, by short-circuiting costly
Bloop file generation when the build is apparently the same. As of now,
this option doesn't overwrite the Bloop files when new sources are
created, which is a problem.
  • Loading branch information
alexarchambault committed Mar 10, 2022
1 parent cc00521 commit a269cd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/settings.sc
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ trait ScalaCliCompile extends ScalaModule {
asOpt("--jar", compileClasspath().map(_.path)),
asOpt("-O", scalacPluginClasspath().map(p => s"-Xplugin:${p.path}")),
Seq("--jvm", "zulu:17"),
"--strict-bloop-json-check=false", // don't check Bloop JSON files at each run
// re-enable this when switching to Scala CLI > 0.1.2
// "--strict-bloop-json-check=false", // don't check Bloop JSON files at each run
workspace,
sourceFiles
)
Expand Down

0 comments on commit a269cd4

Please sign in to comment.