diff --git a/Taskfile.yaml b/Taskfile.yaml index 3d2ce70492535d9881d360e3acff98d1c4b06c49..d218cde80060f42206bad85672655f39d76a3417 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -2,15 +2,12 @@ version: '3' -vars: - GREETING: Hello, World! - tasks: default: cmds: - task: update-tps - - task: update-index-date - task: export-pdf + - task: update-index-date update-index-date: vars: @@ -30,9 +27,9 @@ tasks: update-one-tp: internal: true + label: export-one-tp-{{ .FILE_NAME }} sources: - '{{ .INPUT }}' - label: export-one-tp-{{ .FILE_NAME }} vars: FILE_NAME: sh: echo $(basename {{.INPUT}} .adoc) @@ -40,17 +37,11 @@ tasks: - asciidoctor '{{ .INPUT }}' - asciidoctor-pdf '{{ .INPUT }}' - export-tp-pdf: - run: always - sources: - - w*/*.adoc - cmds: - - for: sources - cmd: asciidoctor-pdf '{{ .ITEM }}' - export-one-course-pdf: internal: true label: export-one-course-pdf-{{ .FILE_NAME }} + sources: + - '{{ .INPUT }}' vars: FILE_NAME: sh: echo $(basename {{.INPUT}} .html)