Skip to content

Commit a029920

Browse files
committed
Fix generate* tasks in scala3doc
1 parent 78ca5b8 commit a029920

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

0 commit comments

Comments
 (0)