Skip to content

Commit

Permalink
cross-build 2.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
enzief committed Jul 5, 2020
1 parent d07aa5d commit 6d705f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ stages:
jobs:
include:
- env: TEST="tests"
script: cd scalafix && sbt tests/test
script: cd scalafix && sbt +tests/test
- stage: release
script: cd scalafix && sbt ci-release
script: cd scalafix && sbt +ci-release

cache:
directories:
Expand Down
6 changes: 4 additions & 2 deletions scalafix/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
lazy val V = _root_.scalafix.sbt.BuildInfo

inThisBuild(
List(
Expand All @@ -14,6 +15,7 @@ inThisBuild(
)
),
scalaVersion := V.scala212,
crossScalaVersions := List(V.scala212, V.scala213),
addCompilerPlugin(scalafixSemanticdb("4.3.18")),
scalacOptions ++= List(
"-Yrangepos",
Expand All @@ -25,7 +27,7 @@ inThisBuild(
skip in publish := true

lazy val rules = project.settings(
libraryDependencies += "ch.epfl.scala" %% "scalafix-core" % V.scalafix,
libraryDependencies += "ch.epfl.scala" %% "scalafix-core" % V.scalafixVersion,
moduleName := "scaluzzi"
)

Expand All @@ -42,7 +44,7 @@ lazy val output = project
lazy val tests = project
.settings(
skip in publish := true,
libraryDependencies += "ch.epfl.scala" % "scalafix-testkit" % V.scalafix % Test cross CrossVersion.full,
libraryDependencies += "ch.epfl.scala" % "scalafix-testkit" % V.scalafixVersion % Test cross CrossVersion.full,
scalafixTestkitOutputSourceDirectories :=
sourceDirectories.in(output, Compile).value,
scalafixTestkitInputSourceDirectories :=
Expand Down
5 changes: 0 additions & 5 deletions scalafix/project/Dependencies.scala

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final case class Disable(index: SemanticdbIndex, config: DisableConfig)

private def checkSynthetics(ctx: RuleCtx): Seq[Diagnostic] = {
for {
synthetic <- ctx.index.synthetics.view
synthetic <- ctx.index.synthetics
ResolvedName(
pos,
disabledSymbolInSynthetics(symbol @ Symbol.Global(_, _), disabled),
Expand Down

0 comments on commit 6d705f2

Please sign in to comment.