1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2016-05-04 21:22:33 -08:00
parent cdd14df6f5
commit 8e52d3ccb6

View file

@ -190,6 +190,9 @@ class TaskManager @Inject constructor(val args: Args,
it.matches(projectName)
}
// The nodes we need to process, initialized with the set of tasks requested by the user.
// As we run the graph and discover dependencies, new nodes get added to @param[newToProcess]. At
// the end of the loop, @param[toProcess] is cleared and all the new nodes get added to it. Then we loop.
val toProcess = ArrayList(taskInfos)
while (toProcess.size > 0) {