Documentation ¶
Index ¶
- type CompilerV2
- func (c *CompilerV2) FastGetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)
- func (c *CompilerV2) GetTaskfileVariables() (*taskfile.Vars, error)
- func (c *CompilerV2) GetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)
- func (c *CompilerV2) HandleDynamicVar(v taskfile.Var, _ string) (string, error)
- func (c *CompilerV2) ResetCache()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompilerV2 ¶
type CompilerV2 struct { Dir string Taskvars *taskfile.Vars TaskfileVars *taskfile.Vars Expansions int Logger *logger.Logger // contains filtered or unexported fields }
func (*CompilerV2) FastGetVariables ¶ added in v3.2.2
FastGetVariables is a no-op on v2
func (*CompilerV2) GetTaskfileVariables ¶ added in v3.5.0
func (c *CompilerV2) GetTaskfileVariables() (*taskfile.Vars, error)
func (*CompilerV2) GetVariables ¶
GetVariables returns fully resolved variables following the priority order: 1. Task variables 2. Call variables 3. Taskfile variables 4. Taskvars file variables 5. Environment variables
func (*CompilerV2) HandleDynamicVar ¶
func (*CompilerV2) ResetCache ¶ added in v3.2.0
func (c *CompilerV2) ResetCache()
ResetCache clear the dymanic variables cache
Click to show internal directories.
Click to hide internal directories.