Skip to content

Commit 6e2fdd9

Browse files
committed
Fix generate* tasks in scala3doc
1 parent e41701f commit 6e2fdd9

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
@@ -1471,6 +1471,7 @@ object Build {
14711471
def asScala3doc: Project = {
14721472
def generateDocumentation(targets: String, name: String, outDir: String, ref: String, params: String = "") = Def.taskDyn {
14731473
val projectVersion = version.value
1474+
IO.createDirectory(file(outDir))
14741475
val sourcesAndRevision = s"-source-links github://lampepfl/dotty -revision $ref -project-version $projectVersion"
14751476
val cmd = s""" -d $outDir -project "$name" $sourcesAndRevision $params $targets"""
14761477
run.in(Compile).toTask(cmd)

0 commit comments

Comments
 (0)