diff --git a/Taskfile.yaml b/Taskfile.yaml index 8c4b9eac84a07993b0d56bcb9ffd3e21c6d96027..3d2ce70492535d9881d360e3acff98d1c4b06c49 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -11,7 +11,6 @@ tasks: - task: update-tps - task: update-index-date - task: export-pdf - - task: export-tp-pdf update-index-date: vars: @@ -25,7 +24,21 @@ tasks: - w*/*.adoc cmds: - for: sources - cmd: asciidoctor '{{ .ITEM }}' + task: update-one-tp + vars: + INPUT: '{{ .ITEM }}' + + update-one-tp: + internal: true + sources: + - '{{ .INPUT }}' + label: export-one-tp-{{ .FILE_NAME }} + vars: + FILE_NAME: + sh: echo $(basename {{.INPUT}} .adoc) + cmds: + - asciidoctor '{{ .INPUT }}' + - asciidoctor-pdf '{{ .INPUT }}' export-tp-pdf: run: always