Add scripted scala3-doc

This commit is contained in:
Adrien Piquerez 2020-12-30 16:27:22 +01:00
parent ab345e0a71
commit 06292cbcd4
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,5 @@
lazy val root = (project in file("."))
.settings(
scalaVersion := "3.0.0-M3",
resolvers += Resolver.JCenterRepository
)

View File

@ -0,0 +1,10 @@
package foo
final val foo="Foo"
object A:
/**
* @param i An argument
*/
def x(i:Int)=3

View File

@ -0,0 +1,4 @@
> doc
$ exists target/scala-3.0.0-M3/api/index.html
$ exists target/scala-3.0.0-M3/api/api/foo/A$.html
$ exists target/scala-3.0.0-M3/api/api/foo.html