compiler

package
v3.37.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnviron

func GetEnviron() *ast.Vars

GetEnviron the all return all environment variables encapsulated on a ast.Vars

Types

type Compiler

type Compiler struct {
	Dir            string
	Entrypoint     string
	UserWorkingDir string

	TaskfileEnv  *ast.Vars
	TaskfileVars *ast.Vars

	Logger *logger.Logger
	// contains filtered or unexported fields
}

func (*Compiler) FastGetVariables added in v3.2.2

func (c *Compiler) FastGetVariables(t *ast.Task, call *ast.Call) (*ast.Vars, error)

func (*Compiler) GetTaskfileVariables added in v3.5.0

func (c *Compiler) GetTaskfileVariables() (*ast.Vars, error)

func (*Compiler) GetVariables

func (c *Compiler) GetVariables(t *ast.Task, call *ast.Call) (*ast.Vars, error)

func (*Compiler) HandleDynamicVar

func (c *Compiler) HandleDynamicVar(v ast.Var, dir string) (string, error)

func (*Compiler) ResetCache added in v3.2.0

func (c *Compiler) 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