andreynering
Using sh to generate a map?
Hi @JonZeolla,
I suggest you do make a comment on https://github.com/go-task/task/issues/1585 with your proposal.
There, it would be less likely to be forgotten, as Discord is more for questions than feature requests.
2 replies
Required input does not prevent dependencies from running and dependencies do not share variables
Hi @Bluestopher,
1. I would move
DATE
and GIT_HASH
as global variables, and just reference them on the calls with DATE: '{{.DATE}}'
2. You might want to create an issue about this so we can think about changing this behavior in the future.3 replies
Should the 'generates' folders be automatically excluded from 'sources' evaluaton?
Does the date/time affect the output of the checksum checker?What we do check is if there are any files from
generates
available. If not, we assume is wan't run and run again.5 replies
Static context issues
Hi @Leon,
I'm actually not sure if we would want to add that behavior. That would improve the code complexity and add room for new bugs.
Keep in mind that we need to take concurrency into account when implementing things, and sharing state between tasks might not play well with tasks running concurrently.
2 replies
encounter a issue that task caching not working anymore.
Yeah, having separed tasks for Windows and others is probably the most obvious solution. You can use
platforms:
for that: https://taskfile.dev/usage/#platform-specific-tasks-and-commands16 replies
how to apply `ignore` in source filter?
Hi @trim21,
In theory, that file should not be considered because it does not end with
.py
.
Anyway, it's possible to exclude files with exclude:
. See:
https://taskfile.dev/usage/#by-fingerprinting-locally-generated-files-and-their-sources4 replies