scala-cli
scala-cli copied to clipboard
Add support for calling commands from an actual Scala language installation in `sclicheck`
Describe what needs to be done and why As per https://github.com/VirtusLab/scala-cli/pull/3155:
- the
scalacommand indocs-testsis currently just an alias forscala-cli, rather than a 1:1 use of thescalawrapper fromscala:3.5.0installation scalacandscala_legacyare currently launched through their main classes withscala-cli, rather than via an actual installation (although that's largely the same, just slower)- we should swap
scala,scalacandscala_legacyto an actualcoursierinstallation of the default Scala version when usingsclicheck.
Is your feature request related to a past ticket or discussion?
- https://github.com/VirtusLab/scala-cli/pull/3155
Describe alternatives you've considered The current workaround mimics an actual Scala 3 installation close enough for our docs to be largely testable, so we might also just leave it as it is, if we won't have the time to implement this.