Skip to content

sources with wildcards, be able to run the command only for the modified files #1685

@bbigras

Description

@bbigras

With the following code, every time a plantuml file changes, all plantuml is run for every *.plantuml files I have.

It would be great to be able to only regenerate the files that actually changed.

asked first in discord https://discord.com/channels/974121106208354339/1248651866519371837

tasks:
  build:
    desc: Builds the svg
    watch: true
    sources:
      - '*.plantuml'
    cmds:
      - for: sources
        cmd: plantuml {{ .ITEM }} -tsvg

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: fingerprintingChanges related to checksums and caching.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions