Skip to content

Commit f95f88b

Browse files
committed
Backported a patch to fix docs building.
1 parent 62bb45b commit f95f88b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ task apidocs(dependsOn: ['dokka', 'dokkaJavadoc'])
2525

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

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

38-
apidocs.shouldRunAfter makeDocs
38+
apidocs.shouldRunAfter makeDocs

0 commit comments

Comments
 (0)