Skip to content

Commit 05d8d11

Browse files
committed
Fix generate* tasks in scala3doc
1 parent b2311cf commit 05d8d11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,7 @@ object Build {
14841484
def asScala3doc: Project = {
14851485
def generateDocumentation(targets: String, name: String, outDir: String, ref: String, params: String = "") = Def.taskDyn {
14861486
val projectVersion = version.value
1487+
IO.createDirectory(file(outDir))
14871488
val sourcesAndRevision = s"-source-links github://lampepfl/dotty -revision $ref -project-version $projectVersion"
14881489
val cmd = s""" -d $outDir -project "$name" $sourcesAndRevision $params $targets"""
14891490
run.in(Compile).toTask(cmd)

0 commit comments

Comments
 (0)