Add scripted scala3-compiler-bridge-binary

This commit is contained in:
Adrien Piquerez 2020-12-18 11:20:27 +01:00
parent 28ad11b07f
commit ccb63e9eaa
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
val A = "A"

View File

@ -0,0 +1,8 @@
ThisBuild / scalaVersion := "3.0.0-M2"
lazy val check = taskKey[Unit]("")
check := {
val bridge = scalaCompilerBridgeBinaryJar.value
bridge.getOrElse(sys.error(s"bridge JAR is missing"))
}

View File

@ -0,0 +1,2 @@
> check
> compile