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

Support run multiple commands

This commit is contained in:
Andrey Nering
2017-02-27 10:13:06 -03:00
parent 49d4901c76
commit 5b1d106724

View File

@@ -74,8 +74,10 @@ func Run() {
log.Fatal(err)
}
if err = RunTask(args[0]); err != nil {
log.Fatal(err)
for _, a := range args {
if err = RunTask(a); err != nil {
log.Fatal(err)
}
}
}