mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
GITHUB-230: Fail build if invalid project requested.
Fixes https://github.com/cbeust/kobalt/issues/230
This commit is contained in:
parent
5b2ed94655
commit
ff1e3c2d13
3 changed files with 58 additions and 21 deletions
|
@ -80,7 +80,7 @@ class TaskManagerTest @Inject constructor(val taskManager: TaskManager) {
|
|||
}
|
||||
}
|
||||
|
||||
val graph = taskManager.createGraph2("", tasks, dependencies,
|
||||
val graph = taskManager.createGraph2("", tasks.map { TaskManager.TaskInfo(it) }, dependencies,
|
||||
dependsOn, reverseDependsOn, runBefore, runAfter, alwaysRunAfter,
|
||||
{ it }, { t -> true })
|
||||
val result = DryRunGraphExecutor(graph).run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue