Files
task/internal/compiler/compiler.go
2020-08-16 15:48:19 -03:00

13 lines
347 B
Go

package compiler
import (
"github.com/go-task/task/v3/internal/taskfile"
)
// Compiler handles compilation of a task before its execution.
// E.g. variable merger, template processing, etc.
type Compiler interface {
GetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)
HandleDynamicVar(v taskfile.Var) (string, error)
}