 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  const NamespaceSeparator = ":"
    NamespaceSeparator contains the character that separates namescapes
Variables ¶
      View Source
      
  
    var ( // ErrCantUnmarshalCmd is returned for invalid command YAML ErrCantUnmarshalCmd = errors.New("task: can't unmarshal cmd value") // ErrCantUnmarshalDep is returned for invalid dependency YAML ErrCantUnmarshalDep = errors.New("task: can't unmarshal dep value") )
      View Source
      
  
var ( // ErrCantUnmarshalVar is returned for invalid var YAML. ErrCantUnmarshalVar = errors.New("task: can't unmarshal var value") )
Functions ¶
Types ¶
type Cmd ¶
Cmd is a task command
func (*Cmd) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler interface
type Dep ¶
Dep is a task dependency
func (*Dep) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler interface
type Task ¶
type Task struct {
	Task        string
	Cmds        []*Cmd
	Deps        []*Dep
	Desc        string
	Summary     string
	Sources     []string
	Generates   []string
	Status      []string
	Dir         string
	Vars        Vars
	Env         Vars
	Silent      bool
	Method      string
	Prefix      string
	IgnoreError bool `yaml:"ignore_error"`
}
    Task represents a task
type Taskfile ¶
type Taskfile struct {
	Version    string
	Expansions int
	Output     string
	Includes   map[string]string
	Vars       Vars
	Env        Vars
	Tasks      Tasks
}
    Taskfile represents a Taskfile.yml
func (*Taskfile) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler interface
type Var ¶
Var represents either a static or dynamic variable.
func (*Var) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler interface.
 Click to show internal directories. 
   Click to hide internal directories.