mirror of
https://github.com/go-task/task.git
synced 2026-02-24 20:20:30 +01:00
feat(executor): store TaskfileGraph for lazy resolution
Store the TaskfileGraph in the Executor so it can be used for lazy variable resolution when SCOPED_INCLUDES experiment is enabled. The graph is now preserved after reading, before merging into the final Taskfile. This allows traversing the DAG at runtime to resolve variables from the correct scope.
This commit is contained in:
@@ -63,6 +63,7 @@ type (
|
||||
|
||||
// Internal
|
||||
Taskfile *ast.Taskfile
|
||||
Graph *ast.TaskfileGraph
|
||||
Logger *logger.Logger
|
||||
Compiler *Compiler
|
||||
Output output.Output
|
||||
|
||||
Reference in New Issue
Block a user