Skip to content
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

No strict bloop check in build #772

Merged

Conversation

alexarchambault
Copy link
Contributor

This tweaks things related to the --strict-bloop-json-check=false option. This option basically short-circuits the (sometimes costly) checks for changes in Bloop config files written by Scala CLI. It was enabled in the Scala CLI build itself, but it seems it doesn't take into account new source files (it doesn't update Bloop config files when a new source file is added).

This PR fixes that, and also disables --strict-bloop-json-check=false in the build for now, until we can benefit from the fix in the build.

When --strict-bloop-json-check=false was passed, it seems we were not
updating Bloop files when new sources we added (or former ones removed).
This should fix that.
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.
@alexarchambault alexarchambault merged commit e968a10 into VirtusLab:main Mar 11, 2022
@alexarchambault alexarchambault deleted the no-strict-bloop-check-in-build branch March 11, 2022 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant