File tree 2 files changed +3
-3
lines changed
scalafix-tests/unit/src/test/scala/scalafix/tests
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 56
56
Run the following commands to generate a skeleton project
57
57
58
58
@hl.scala
59
- // by convention, --rewrite= should match the Github repo name.
59
+ // by convention, --rewrite= should match the GitHub repo name.
60
60
// this makes it possible for users to run `scalafix github:org/reponame/v1.0`
61
61
sbt new scalacenter/scalafix.g8 --rewrite "reponame" --version=v1.0
62
62
cd reponame/scalafix
186
186
@code{scalafix --rewrites https://gist....} where the url
187
187
points to the plaintext contents of your rewrite.
188
188
189
- If your rewrite uses a custom library @code{foo} , then it's a bit tricky
189
+ If your rewrite uses a custom library, then it's a bit tricky
190
190
to share it. See @issue(201) for more updates.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import scalafix.reflect.ScalafixCompilerDecoder.GitHubUrlRewrite
5
5
import metaconfig .Conf
6
6
import org .scalatest .FunSuite
7
7
8
- class GithubUrlRewriteSuite extends FunSuite {
8
+ class GitHubUrlRewriteSuite extends FunSuite {
9
9
def check (original : String , expected : String ): Unit = {
10
10
test(original) {
11
11
Conf .Str (original) match {
You can’t perform that action at this time.
0 commit comments