1
0
mirror of https://github.com/go-task/task.git synced 2025-06-15 00:15:10 +02:00

Improve performance of --list and --summary flags

Closes #332
This commit is contained in:
Andrey Nering
2021-01-12 12:03:04 -03:00
parent c11672fca3
commit bf6d0c0a74
7 changed files with 50 additions and 11 deletions

View File

@ -8,6 +8,7 @@ import (
// E.g. variable merger, template processing, etc.
type Compiler interface {
GetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)
FastGetVariables(t *taskfile.Task, call taskfile.Call) (*taskfile.Vars, error)
HandleDynamicVar(v taskfile.Var, dir string) (string, error)
ResetCache()
}