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

Make it easy to run rewrites to other directory on compile #103

Closed
olafurpg opened this issue Mar 27, 2017 · 1 comment
Closed

Make it easy to run rewrites to other directory on compile #103

olafurpg opened this issue Mar 27, 2017 · 1 comment

Comments

@olafurpg
Copy link
Contributor

Inspired by typelevel/catz and to http://eed3si9n.com/sbt-sidedish

@olafurpg
Copy link
Contributor Author

This is now possible with the --out-from and --out-to command line flags. Example,


scalafix --rewrites ProcedureSyntax --out-from shared --out-to src_managed shared/src/main/scala/Foo.scala
# writes file to src_managed/src/main/scala/Foo.scala

bjaglin pushed a commit to liancheng/scalafix that referenced this issue May 23, 2023
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

1 participant