v2

package
v3.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

func (c *CompilerV2) FastGetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)

FastGetVariables is a no-op on v2

func (*CompilerV2) GetTaskfileVariables

func (c *CompilerV2) GetTaskfileVariables() (*taskfile.Vars, error)

func (*CompilerV2) GetVariables

func (c *CompilerV2) GetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)

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 (c *CompilerV2) HandleDynamicVar(v taskfile.Var, _ string) (string, error)

func (*CompilerV2) ResetCache

func (c *CompilerV2) ResetCache()

ResetCache clear the dymanic variables cache

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL