Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterPlatforms ¶
func MergeTask ¶
MergeTask overlays override onto base with local-wins precedence:
- list fields (cmds, deps, sources, generates, platforms, status, preconditions, aliases) REPLACE the base list whenever override provides a non-empty one, otherwise the base list is kept;
- map fields (vars, env) merge per key with override winning;
- scalar fields take the override value when it is set.
Replacement (not append) is deliberate: redefining a task in Taskfile.local.yml should supersede the base definition, not extend it.
func MergeTaskfile ¶
MergeTaskfile layers a local taskfile over a base one with local-wins precedence: a task defined in local replaces/overrides the base task of the same name (see MergeTask), a task that exists only in local is added, and top-level vars defined in local override base vars per key. This is what powers Taskfile.local.yml overriding a base Taskfile.yml.
Types ¶
Click to show internal directories.
Click to hide internal directories.