mirror of https://github.com/sbt/sbt.git
Add scripted scala3-doc
This commit is contained in:
parent
ab345e0a71
commit
06292cbcd4
|
|
@ -0,0 +1,5 @@
|
|||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
scalaVersion := "3.0.0-M3",
|
||||
resolvers += Resolver.JCenterRepository
|
||||
)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package foo
|
||||
|
||||
final val foo="Foo"
|
||||
|
||||
object A:
|
||||
/**
|
||||
* @param i An argument
|
||||
*/
|
||||
def x(i:Int)=3
|
||||
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue