mirror of https://github.com/sbt/sbt.git
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:
parent
4a04764f20
commit
d30556f19e
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue