Skip to content
Snippets Groups Projects

Resolve "Create pages documentation"

Merged René Schöne requested to merge 33-create-pages-documentation into dev
Files
30
+ 0
29
@@ -129,35 +129,6 @@ sourceSets.main {
}
}
javadoc {
// this is only run to get the index file etc.
failOnError = false
}
String[] arguments = ["libs/rd-builder.jar", "-d", "doc/"]
def allSrcFiles = sourceSets.main.allSource.findAll { it.name.endsWith('java') }.toArray()
def ragdocViewSrcData = '../ragdoc-view/src/data/'
task ragdocFixed(type: JavaExec, dependsOn: assemble) {
group = 'documentation'
description = 'Create ragdoc json documentation files'
main = "-jar"
args arguments + allSrcFiles
}
task cleanRagdoc(type: Delete) {
group = 'documentation'
delete fileTree(ragdocViewSrcData + '/*')
}
task copyRagdoc(type: Copy, dependsOn: cleanRagdoc) {
group = 'documentation'
description = 'Copy ragdoc json documentation files to ragdoc-viewer'
from 'doc/'
into ragdocViewSrcData
eachFile { println it.file }
}
generateAst.dependsOn preprocess
generateAst.inputs.files file("./src/main/jastadd/mainGen.ast"), file("./src/main/jastadd/mainGen.jadd")
//compileJava.dependsOn jastadd
Loading