mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Removed robots.txt from repo and added docs/build back to the gitignore list.
This commit is contained in:
parent
8862920f9a
commit
1b5182fe24
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,7 +14,6 @@ local.properties
|
||||
|
||||
# General build files
|
||||
**/build/*
|
||||
!docs/build/*
|
||||
|
||||
lib/dokka.jar
|
||||
|
||||
|
@ -16,21 +16,16 @@ task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
|
||||
}
|
||||
|
||||
task apidocs(dependsOn: [':jar', 'dokka', 'dokkaJavadoc'])
|
||||
task buildDocs(dependsOn: ['apidocs', 'copyRobots', 'makeDocs'])
|
||||
|
||||
task copyRobots(type: Copy) {
|
||||
from "robots.txt"
|
||||
into "build/html"
|
||||
}
|
||||
task buildDocs(dependsOn: ['apidocs', 'makeDocs'])
|
||||
|
||||
task installDocsiteRequirements(type: Exec) {
|
||||
// TODO: Non-msys Windows script
|
||||
commandLine 'cmd', '/c', 'sh ./install-docsite-requirements.sh' // Windows
|
||||
commandLine './install-docsite-requirements.sh' // Linux
|
||||
commandLine 'cmd', '/c', 'sh install-docsite-requirements.sh' // Windows
|
||||
commandLine 'sh', './install-docsite-requirements.sh' // Linux
|
||||
}
|
||||
|
||||
task makeDocs(type: Exec, dependsOn: ['installDocsiteRequirements']) {
|
||||
// TODO: Non-msys Windows script
|
||||
commandLine 'cmd', '/c', 'sh ./make-docsite.sh' // Windows
|
||||
commandLine './make-docsite.sh' // Linux
|
||||
commandLine 'cmd', '/c', 'sh make-docsite.sh' // Windows
|
||||
commandLine 'sh', './make-docsite.sh' // Linux
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
Loading…
Reference in New Issue
Block a user