mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
This fix broke task ordering, need to investigate.
This commit is contained in:
parent
63f02f86bf
commit
d577a785c5
1 changed files with 7 additions and 7 deletions
|
@ -277,13 +277,13 @@ class TaskManager @Inject constructor(val args: Args,
|
|||
|
||||
// Make each task depend on the previous one, so that command line tasks are executed in the
|
||||
// order the user specified them
|
||||
passedTasks.zip(passedTasks.drop(1)).forEach { pair ->
|
||||
nodeMap[pair.first.taskName].forEach { first ->
|
||||
nodeMap[pair.second.taskName].forEach { second ->
|
||||
result.addEdge(second, first)
|
||||
}
|
||||
}
|
||||
}
|
||||
// passedTasks.zip(passedTasks.drop(1)).forEach { pair ->
|
||||
// nodeMap[pair.first.taskName].forEach { first ->
|
||||
// nodeMap[pair.second.taskName].forEach { second ->
|
||||
// result.addEdge(second, first)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
//
|
||||
// Reverse the always map so that tasks can be looked up.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue