Versions in this module Expand all Collapse all v3 v3.0.4 Mar 6, 2024 v3.0.3 Mar 6, 2024 v3.0.1 Mar 6, 2024 Changes in this version + const NamespaceSeparator + var ErrCantUnmarshalPrecondition = errors.New("task: Can't unmarshal precondition value") + var V3 = semver.MustParse("3") + type Call struct + Indirect bool + Silent bool + Task string + Vars *Vars + type Cmd struct + Cmd string + Defer bool + For *For + 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 For struct + As string + From string + List []any + Split string + Var string + func (f *For) DeepCopy() *For + func (f *For) UnmarshalYAML(node *yaml.Node) error + type Glob struct + Glob string + Negate bool + func (g *Glob) UnmarshalYAML(node *yaml.Node) error + type Include struct + AdvancedImport bool + Aliases []string + BaseDir string + Dir string + Internal bool + Namespace string + Optional bool + Taskfile string + Vars *Vars + func (include *Include) DeepCopy() *Include + func (include *Include) FullDirPath() (string, error) + func (include *Include) FullTaskfilePath() (string, error) + func (include *Include) UnmarshalYAML(node *yaml.Node) error + type Includes struct + func (includes *Includes) Len() int + func (includes *Includes) Range(f func(k string, v Include) error) error + func (includes *Includes) UnmarshalYAML(node *yaml.Node) error + type Location struct + Column int + Line int + Taskfile string + func (l *Location) DeepCopy() *Location + type MatchingTask struct + Task *Task + Wildcards []string + 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 []*Glob + IgnoreError bool + IncludeVars *Vars + 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 []*Glob + Status []string + Summary string + Task string + Vars *Vars + Watch bool + func (t *Task) DeepCopy() *Task + func (t *Task) Name() string + func (t *Task) UnmarshalYAML(node *yaml.Node) error + func (t *Task) WildcardMatch(name string) (bool, []string) + type Taskfile struct + Dotenv []string + Env *Vars + Includes *Includes + 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 (t1 *Taskfile) Merge(t2 *Taskfile, include *Include) error + func (tf *Taskfile) UnmarshalYAML(node *yaml.Node) error + type Tasks struct + func (t *Tasks) FindMatchingTasks(call *Call) []*MatchingTask + func (t *Tasks) UnmarshalYAML(node *yaml.Node) error + func (t1 *Tasks) Merge(t2 Tasks, include *Include) + type Var struct + Dir string + Json string + Live any + Overwrite bool + Ref string + Sh string + Value any + Yaml 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)