Skip to content

Commit

Permalink
Backported a patch to fix docs building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clintonio committed Aug 15, 2017
1 parent 62bb45b commit f95f88b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ task apidocs(dependsOn: ['dokka', 'dokkaJavadoc'])

task makeDocs(type: Exec, dependsOn: ['installDocsiteRequirements']) {
// TODO: Non-msys Windows script
commandLine 'cmd', '/c', 'sh make-docsite.sh' // Windows
commandLine 'sh', './make-docsite.sh' // Linux
commandLine 'cmd', '/c', 'bash make-docsite.sh' // Windows
commandLine 'bash', './make-docsite.sh' // Linux
}

task installDocsiteRequirements(type: Exec) {
// TODO: Non-msys Windows script
commandLine 'cmd', '/c', 'sh install-docsite-requirements.sh' // Windows
commandLine 'sh', './install-docsite-requirements.sh' // Linux
commandLine 'cmd', '/c', 'bash install-docsite-requirements.sh' // Windows
commandLine 'bash', './install-docsite-requirements.sh' // Linux
}

apidocs.shouldRunAfter makeDocs
apidocs.shouldRunAfter makeDocs

0 comments on commit f95f88b

Please sign in to comment.