Documentation ¶
Overview ¶
Package intrinsic contains the intrinsic commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Clean ¶
type Clean struct {
Files yaml.StringOrSlice `yaml:"files"`
}
Clean represents a clean task.
type Extend ¶ added in v0.10.0
type Extend struct { Task string `yaml:"task"` Environment yaml.StringOrSlice `yaml:"environment"` Expand yaml.StringOrSlice `yaml:"expand"` ExpandDelimiter string `yaml:"expand_delimiter"` // A copy of the extended task. Must be public so that deepcopy // can serialize it properly in case an extended task is extended // itself (when private the innerTask is nil and causes a bad // data access exception). InnerTask tasks.Task }
Extend represents a task that extends another task.
func (*Extend) Dependencies ¶ added in v0.10.0
Dependencies returns a list of tasks that this task depends on.
func (*Extend) Execute ¶ added in v0.10.0
func (e *Extend) Execute(name string, logger *gomol.LogAdapter, env []string, st *state.State) error
Execute runs an extended task.
Click to show internal directories.
Click to hide internal directories.