-
-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
- Task version: Task version: v3.38.0 (h1:O7kgA6BfwktXHPrheByQO46p3teKtRuq1EpGnFxNzbo=)
- Operating system: Linux
- Experiments enabled: None
No fingerprinting for files listed in "generates" and hence it does not affect when the task executes the "cmds".
Example:
# https://taskfile.dev
version: '3'
silent: true
vars:
GREETING: Hello, World!
tasks:
default:
cmds:
- echo "{{.GREETING}}" > ./test.txt
generates:
- ./test.txt
Steps to reproduce:
- run
taskfor the first time. It generates the test.txt file - run
taskagain. It always executes thecmds
Am i misunderstanding the generates feature? I assumed that files in the generates would be fingerprinted and when these files are changed, then the cmds would then execute?
ddouglas and melvin-moreno
Metadata
Metadata
Assignees
Labels
No labels