scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Also update scripts that download scalafmt

Open ekrich opened this issue 3 years ago • 0 comments

Scala Native was an early adopter of scalafmt and uses a script to download the correct version. The script is used locally at the command line and also during CI to check the format. I have copied this approach in sconfig so it would be great to have the script updated as part of the PR.

Recently I got this PR - https://github.com/ekrich/sconfig/commit/c2c89a2bbf2c6d4392040bc67720899a0abcf3b5

It would be great if this line could also be updated. https://github.com/ekrich/sconfig/blob/main/scripts/scalafmt#L7

The work around could be to use sbt-scalafmt but we are hoping to get a Scala Native version of scalafmt eventually and this would somewhat break the idea of a fast starting version. scala-cli may also be a future download option rather than Coursier.

ekrich avatar Apr 26 '22 01:04 ekrich