1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Environment from .env file should be available as variables

Fixes #379
This commit is contained in:
Andrey Nering
2021-01-12 11:09:46 -03:00
parent 1107f691ea
commit e086b654aa
6 changed files with 17 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ func (e *Executor) Setup() error {
} else {
e.Compiler = &compilerv3.CompilerV3{
Dir: e.Dir,
TaskfileEnv: e.Taskfile.Env,
TaskfileVars: e.Taskfile.Vars,
Logger: e.Logger,
}