1
0
mirror of https://github.com/go-task/task.git synced 2025-11-25 22:32:55 +02:00

Expose .TASK variable with the task name

Closes #252
This commit is contained in:
Andrey Nering
2019-12-07 19:43:10 -03:00
parent d718527a1f
commit 7373639f57
5 changed files with 10 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ func TestVarsV2(t *testing.T) {
"nestedtmpl2_foo2.txt": "<no value>",
"override.txt": "bar",
"nested.txt": "Taskvars-TaskfileVars-TaskVars",
"task_name.txt": "hello",
},
}
tt.Run(t)