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

Support Scalafix migrations in Scala CLI projects #3486

Open
fthomas opened this issue Nov 24, 2024 · 1 comment
Open

Support Scalafix migrations in Scala CLI projects #3486

fthomas opened this issue Nov 24, 2024 · 1 comment

Comments

@fthomas
Copy link
Member

fthomas commented Nov 24, 2024

Scala CLI 1.5.4+ will contain a scalafix command (VirtusLab/scala-cli#2968) which we should be able to use for implementing ScalaCliAlg#runMigration which is currently a NOP.

Full support for Scalafix migrations is currently only available for sbt projects. The corresponding code in SbtAlg can be used as inspiration for supporting them in Scala CLI.

@Gedochao
Copy link

Actually, it will ship in Scala CLI 1.6.0, just FYI.
It's available in the recent nightly, but the syntax is still likely to change considerably (track VirtusLab/scala-cli#3327) before I release 1.6.x

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

No branches or pull requests

2 participants