Versions in this module Expand all Collapse all v3 v3.0.0 Aug 17, 2020 Changes in this version + const NamespaceSeparator + var ErrCantUnmarshalCmd = errors.New("task: can't unmarshal cmd value") + var ErrCantUnmarshalDep = errors.New("task: can't unmarshal dep value") + var ErrCantUnmarshalIncludedTaskfile = errors.New("task: can't unmarshal included value") + var ErrCantUnmarshalPrecondition = errors.New("task: Can't unmarshal precondition value") + var ErrCantUnmarshalTask = errors.New("task: can't unmarshal task value") + var ErrCantUnmarshalVar = errors.New("task: can't unmarshal var value") + func Merge(t1, t2 *Taskfile, namespaces ...string) error + type Call struct + Task string + Vars *Vars + type Cmd struct + Cmd string + IgnoreError bool + Silent bool + Task string + Vars *Vars + func (c *Cmd) UnmarshalYAML(unmarshal func(interface{}) error) error + type Dep struct + Task string + Vars *Vars + func (d *Dep) UnmarshalYAML(unmarshal func(interface{}) error) error + type IncludedTaskfile struct + AdvancedImport bool + Dir string + Taskfile string + func (it *IncludedTaskfile) UnmarshalYAML(unmarshal func(interface{}) error) error + type IncludedTaskfiles = map[string]IncludedTaskfile + type Precondition struct + Msg string + Sh string + func (p *Precondition) UnmarshalYAML(unmarshal func(interface{}) error) error + type Task struct + Cmds []*Cmd + Deps []*Dep + Desc string + Dir string + Env *Vars + Generates []string + IgnoreError bool + Label string + Method string + Preconditions []*Precondition + Prefix string + Silent bool + Sources []string + Status []string + Summary string + Task string + Vars *Vars + func (t *Task) Name() string + func (t *Task) UnmarshalYAML(unmarshal func(interface{}) error) error + type Taskfile struct + Dotenv []string + Env *Vars + Expansions int + Includes IncludedTaskfiles + Method string + Output string + Silent bool + Tasks Tasks + Vars *Vars + Version string + func (tf *Taskfile) ParsedVersion() (float64, error) + func (tf *Taskfile) UnmarshalYAML(unmarshal func(interface{}) error) error + type Tasks map[string]*Task + type Var struct + Live interface{} + Sh string + Static string + func (v *Var) UnmarshalYAML(unmarshal func(interface{}) error) error + type Vars struct + Keys []string + Mapping map[string]Var + func (vs *Vars) Merge(other *Vars) + func (vs *Vars) Range(yield func(key string, value Var) error) error + func (vs *Vars) Set(key string, value Var) + func (vs *Vars) ToCacheMap() (m map[string]interface{}) + func (vs *Vars) UnmarshalYAML(node *yaml.Node) error Other modules containing this package github.com/go-task/task github.com/go-task/task/v2