Add test for Scala 3 cross-target

This commit is contained in:
Adrien Piquerez 2021-04-01 13:56:51 +02:00
parent b0ee80e34e
commit 09dd3b09f4
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
scalaVersion := "3.0.0-RC2-bin-20210328-cca5f8f-NIGHTLY"
name := "foo"
version := "1.0.0"

View File

@ -0,0 +1 @@
object Foo

View File

@ -0,0 +1,7 @@
> compile
$ exists target/scala-3.0.0-RC2-bin-20210328-cca5f8f-NIGHTLY/classes/Foo$.class
> package
$ exists target/scala-3.0.0-RC2-bin-20210328-cca5f8f-NIGHTLY/foo_3.0.0-RC2-1.0.0.jar