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

Closed
fthomas opened this issue Nov 24, 2024 · 2 comments · Fixed by #3564
Closed

Support Scalafix migrations in Scala CLI projects #3486

fthomas opened this issue Nov 24, 2024 · 2 comments · Fixed by #3564
Labels
enhancement New feature or request

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

@fthomas
Copy link
Member Author

fthomas commented Jan 24, 2025

I just opened a PR for this feature: #3564

@fthomas fthomas added the enhancement New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants