mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
print summary for multiple tasks
This commit is contained in:
5
task.go
5
task.go
@@ -65,8 +65,9 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
}
|
||||
|
||||
if e.Summary {
|
||||
firstTask := calls[0].Task
|
||||
summary.Print(e.Logger, e.Taskfile.Tasks[firstTask])
|
||||
for _, call := range calls {
|
||||
summary.Print(e.Logger, e.Taskfile.Tasks[call.Task])
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user