mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-06-16 21:30:51 -07:00
Wrap work.
This commit is contained in:
parent
0fe686122f
commit
f32bfb8c80
1 changed files with 7 additions and 3 deletions
|
@ -157,9 +157,13 @@ public class TaskManager @Inject constructor(val plugins: Plugins, val args: Arg
|
||||||
log(3, "toProcess size: " + toProcess.size())
|
log(3, "toProcess size: " + toProcess.size())
|
||||||
toProcess.forEach { target ->
|
toProcess.forEach { target ->
|
||||||
|
|
||||||
// wrapAfter.get(ti.id).let {
|
wrapAfter.get(ti.id).let {
|
||||||
// newToProcess.addAll(it)
|
val tasks = tasksByNames.get(it)
|
||||||
// }
|
if (tasks != null) {
|
||||||
|
tasks.forEach {
|
||||||
|
newToProcess.add(TaskInfo(project.name!!, task!!.name))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
val currentTask = TaskInfo(project.name!!, target.task)
|
val currentTask = TaskInfo(project.name!!, target.task)
|
||||||
transitiveClosure.add(tasksByNames.get(currentTask.task)!!)
|
transitiveClosure.add(tasksByNames.get(currentTask.task)!!)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue