mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-06-16 13:20:52 -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())
|
||||
toProcess.forEach { target ->
|
||||
|
||||
// wrapAfter.get(ti.id).let {
|
||||
// newToProcess.addAll(it)
|
||||
// }
|
||||
wrapAfter.get(ti.id).let {
|
||||
val tasks = tasksByNames.get(it)
|
||||
if (tasks != null) {
|
||||
tasks.forEach {
|
||||
newToProcess.add(TaskInfo(project.name!!, task!!.name))
|
||||
}
|
||||
}
|
||||
|
||||
val currentTask = TaskInfo(project.name!!, target.task)
|
||||
transitiveClosure.add(tasksByNames.get(currentTask.task)!!)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue