Skip to content

Commit

Permalink
Merge pull request #4 from scalatest/feature-apply-to-test-source
Browse files Browse the repository at this point in the history
Command for Test Sources
  • Loading branch information
bvenners committed Feb 26, 2019
2 parents 6a32b5d + 9df3d96 commit 5555fe7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions 3.0.6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ scalafixDependencies in ThisBuild += "org.scalatest" %% "autofix-3.0.6" % "1.0.0
addCompilerPlugin(scalafixSemanticdb) // enable SemanticDB
```

- In sbt prompt, issue the following command to have the autofix applied:
- In sbt prompt, issue the following command to have the autofix applied to your test source files:

```
sbt> test:scalafix RenameDeprecatedPackage
```

- In case you need to apply it to your main source files, you'll issue the following command instead:

```
sbt> scalafix RenameDeprecatedPackage
```
```

- Check the changes made with `git diff`.

0 comments on commit 5555fe7

Please sign in to comment.