Test documented build script snippets when they change
Closes gh-29684
This commit is contained in:
parent
3a5bf49e24
commit
48fe1513fe
|
|
@ -69,6 +69,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
inputs.dir('src/docs/gradle').withPathSensitivity(PathSensitivity.RELATIVE).withPropertyName('buildScripts')
|
||||
}
|
||||
|
||||
asciidoctor {
|
||||
sources {
|
||||
include "index.adoc"
|
||||
|
|
|
|||
Loading…
Reference in New Issue