v2

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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, dir string) (string, error)

func (*CompilerV2) ResetCache added in v3.2.0

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