Skip to content

Commit

Permalink
Merge remote-tracking branch 'organize-imports/master' into organize-…
Browse files Browse the repository at this point in the history
…imports
  • Loading branch information
bjaglin committed May 23, 2023
2 parents afb12ac + 596459a commit b10f4f2
Show file tree
Hide file tree
Showing 138 changed files with 4,184 additions and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ scalafix-tests
|
├── integration # Integration test suites
|
├── shared # Code that is shared between input and unit projects
├── input # Source files to be analyzed and fixed by rules
├── output # Expected output from running rewrite rules
└── expect # Verify expectations defined in input/output using testkit
Expand Down
12 changes: 12 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ lazy val testkit = projectMatrix
.jvmPlatform(buildScalaVersions)
.dependsOn(cli)

lazy val shared = projectMatrix
.in(file("scalafix-tests/shared"))
.settings(
noPublishAndNoMima,
coverageEnabled := false
)
.defaultAxes(VirtualAxis.jvm)
.jvmPlatformFull(buildWithTargetVersions.map(_._2))
.disablePlugins(ScalafixPlugin)

lazy val input = projectMatrix
.in(file("scalafix-tests/input"))
.settings(
Expand All @@ -189,6 +199,7 @@ lazy val input = projectMatrix
.defaultAxes(VirtualAxis.jvm)
.jvmPlatformFull(buildWithTargetVersions.map(_._2))
.disablePlugins(ScalafixPlugin)
.dependsOn(shared)

lazy val output = projectMatrix
.in(file("scalafix-tests/output"))
Expand All @@ -201,6 +212,7 @@ lazy val output = projectMatrix
.defaultAxes(VirtualAxis.jvm)
.jvmPlatform(buildScalaVersions)
.disablePlugins(ScalafixPlugin)
.dependsOn(shared)

lazy val unit = projectMatrix
.in(file("scalafix-tests/unit"))
Expand Down
Loading

0 comments on commit b10f4f2

Please sign in to comment.