Refactor compiler bridge unit test

This refactors the compiler bridge unit test to use the normal Zinc facility,
namely AnalyzingCompiler that's built on Scala 2.12, but is capable of driving
the compiler bridge built on non-2.12.
This allows us to run the unit tests without any additional dependencies published for Scala 2.13.0-M5.
This commit is contained in:
Eugene Yokota 2018-10-12 05:22:39 -04:00
parent 4a04764f20
commit d30556f19e
1 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ private[sbt] object ZincComponentCompiler {
case sc if (sc startsWith "2.11.") => "compiler-bridge_2.11"
case sc if (sc startsWith "2.12.") => "compiler-bridge_2.12"
case "2.13.0-M1" => "compiler-bridge_2.12"
case sc if (sc startsWith "2.13.0-pre-") => "compiler-bridge_2.13.0-M2"
case sc if (sc startsWith "2.13.0-M") => "compiler-bridge_2.13.0-M2"
case sc if (sc startsWith "2.13.0-RC") => "compiler-bridge_2.13.0-M2"
case sc if (sc startsWith "2.13.0-pre-") => "compiler-bridge_2.13.0-M5"
case sc if (sc startsWith "2.13.0-M") => "compiler-bridge_2.13.0-M5"
case sc if (sc startsWith "2.13.0-RC") => "compiler-bridge_2.13.0-M5"
case _ => "compiler-bridge_2.13"
}
}