Skip to content

Commit

Permalink
Gradle: Reflect that Spec is no longer in README
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Jun 8, 2020
1 parent 816c31b commit 68a05b6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,17 @@ def buildDocDir = file('build/doc')
asciidoctor {
sourceDir file("$projectDir")
sources {
include 'README.adoc'
include 'OmniSpecification.adoc'
}
outputDir buildDocDir
doLast {
file("${outputDir}/README.html").renameTo("${outputDir}/Omni-Specification.html")
}
}

asciidoctorPdf {
sourceDir file("$projectDir")
sources {
include 'README.adoc'
include 'OmniSpecification.adoc'
}
outputDir buildDocDir
doLast {
file("${outputDir}/README.pdf").renameTo("${outputDir}/Omni-Specification.pdf")
}
}

task renderOmniSpecification(dependsOn: [asciidoctor, asciidoctorPdf])

0 comments on commit 68a05b6

Please sign in to comment.