Skip to content

Commit

Permalink
Merge pull request scala#8587 from dotty-staging/fix-#8371
Browse files Browse the repository at this point in the history
Fix scala#8371: Use bootstrapped genDocs
  • Loading branch information
anatoliykmetyuk authored Mar 23, 2020
2 parents 42932dc + 00a9215 commit e04d3a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ object Build {

javaOptions ++= (javaOptions in `dotty-compiler`).value,

javaOptions += "-Xss3m",

genDocs := Def.inputTaskDyn {
val dottydocExtraArgs = spaceDelimited("<arg>").parsed

Expand Down
2 changes: 1 addition & 1 deletion project/scripts/genDocs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo "Working directory: $PWD"

# this command will generate docs in $PWD/docs/_site
SBT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >& /dev/null && pwd)/sbt"
"$SBT" "genDocs $GENDOC_EXTRA_ARGS"
"$SBT" "dotty-bootstrapped/genDocs $GENDOC_EXTRA_ARGS"

# make sure that the previous command actually succeeded
if [ ! -d "$PWD/docs/_site" ]; then
Expand Down

0 comments on commit e04d3a1

Please sign in to comment.