task
task copied to clipboard
method: timestamp does not run when generates: path is missing
my-task:
desc: does useful things
cmds:
- echo "I ran yo"
sources:
- [insert some path to source files]
generates:
- [insert some path to generated file]
method: timestamp
- Task version: Task version: v3.26.0 (h1:NfYktTh/XXJUFtUFdle+BZFtvGlmhk4Q7YfoeOBLPlE=)
- Operating system: Darwin
- Experiments enabled: no
If i add method timestamp then the task is not run when the output is not there... (like after a clean operation)
I also experienced this issue using the latest version. Every condition is the same, except that I'm running this on Linux (Manjaro).
+1 to this.
@andreynering — could we consider adding a check to the IsUpToDate function to mark a task as outdated if any of the generates files are missing?