sbt ~tests/test
# edit rewrites/src/main/scala/fix/Scala213.scala
- Publish the rule:
publishLocal
- Add sbt-scalafix:
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.5")
- Add SemanticDB:
addCompilerPlugin(scalafixSemanticdb)
- Configure Semantic DB:
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
- Run the rule:
scalafix dependency:[email protected]:scala-rewrites:0.1.0-SNAPSHOT
- Run the rule on test sources:
Test/scalafix dependency:[email protected]:scala-rewrites:0.1.0-SNAPSHOT