Versions in this module Expand all Collapse all v3 v3.0.0 Jul 20, 2023 Changes in this version + const NamespaceSeparator + var ErrCantUnmarshalPrecondition = errors.New("task: Can't unmarshal precondition value") + var V2 = semver.MustParse("2") + var V3 = semver.MustParse("3") + func Merge(t1, t2 *Taskfile, includedTaskfile *IncludedTaskfile, namespaces ...string) error + type Call struct + Direct bool + Envs *Vars + Silent bool + Task string + Vars *Vars + type Cmd struct + Cmd string + Defer bool + IgnoreError bool + Platforms []*Platform + Set []string + Shopt []string + Silent bool + Task string + Vars *Vars + func (c *Cmd) DeepCopy() *Cmd + func (c *Cmd) UnmarshalYAML(node *yaml.Node) error + type Dep struct + Silent bool + Task string + Vars *Vars + func (d *Dep) DeepCopy() *Dep + func (d *Dep) UnmarshalYAML(node *yaml.Node) error + type ErrInvalidPlatform struct + Platform string + func (err *ErrInvalidPlatform) Error() string + type IncludedTaskfile struct + AdvancedImport bool + Aliases []string + BaseDir string + Dir string + Internal bool + Optional bool + Taskfile string + Vars *Vars + func (it *IncludedTaskfile) DeepCopy() *IncludedTaskfile + func (it *IncludedTaskfile) FullDirPath() (string, error) + func (it *IncludedTaskfile) FullTaskfilePath() (string, error) + func (it *IncludedTaskfile) UnmarshalYAML(node *yaml.Node) error + type IncludedTaskfiles struct + Keys []string + Mapping map[string]IncludedTaskfile + func (tfs *IncludedTaskfiles) Len() int + func (tfs *IncludedTaskfiles) Range(yield func(key string, includedTaskfile IncludedTaskfile) error) error + func (tfs *IncludedTaskfiles) Set(key string, includedTaskfile IncludedTaskfile) + func (tfs *IncludedTaskfiles) UnmarshalYAML(node *yaml.Node) error + type Location struct + Column int + Line int + Taskfile string + func (l *Location) DeepCopy() *Location + type Output struct + Group OutputGroup + Name string + func (s *Output) IsSet() bool + func (s *Output) UnmarshalYAML(node *yaml.Node) error + type OutputGroup struct + Begin string + End string + ErrorOnly bool + func (g *OutputGroup) IsSet() bool + type Platform struct + Arch string + OS string + func (p *Platform) DeepCopy() *Platform + func (p *Platform) UnmarshalYAML(node *yaml.Node) error + type Precondition struct + Msg string + Sh string + func (p *Precondition) DeepCopy() *Precondition + func (p *Precondition) UnmarshalYAML(node *yaml.Node) error + type Requires struct + Vars []string + func (r *Requires) DeepCopy() *Requires + type Task struct + Aliases []string + Cmds []*Cmd + Deps []*Dep + Desc string + Dir string + Dotenv []string + Env *Vars + Generates []string + IgnoreError bool + IncludeVars *Vars + IncludedTaskfile *IncludedTaskfile + IncludedTaskfileVars *Vars + Interactive bool + Internal bool + Label string + Location *Location + Method string + Platforms []*Platform + Preconditions []*Precondition + Prefix string + Prompt string + Requires *Requires + Run string + Set []string + Shopt []string + Silent bool + Sources []string + Status []string + Summary string + Task string + Vars *Vars + func (t *Task) DeepCopy() *Task + func (t *Task) Name() string + func (t *Task) UnmarshalYAML(node *yaml.Node) error + type Taskfile struct + Dotenv []string + Env *Vars + Expansions int + Includes *IncludedTaskfiles + Interval time.Duration + Location string + Method string + Output Output + Run string + Set []string + Shopt []string + Silent bool + Tasks Tasks + Vars *Vars + Version *semver.Version + func (tf *Taskfile) UnmarshalYAML(node *yaml.Node) error + type Tasks struct + func (t *Tasks) UnmarshalYAML(node *yaml.Node) error + type Var struct + Dir string + Live any + Sh string + Static string + func (v *Var) UnmarshalYAML(node *yaml.Node) error + type Vars struct + func (vs *Vars) DeepCopy() *Vars + func (vs *Vars) Len() int + func (vs *Vars) Merge(other *Vars) + func (vs *Vars) Range(f func(k string, v Var) error) error + func (vs *Vars) ToCacheMap() (m map[string]any)