mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Rename
This commit is contained in:
parent
66aeb19929
commit
d8218761b2
1 changed files with 2 additions and 2 deletions
|
@ -29,13 +29,13 @@ class GetDependenciesCommand @Inject constructor(val executors: KobaltExecutors,
|
||||||
val scriptCompiler = buildFileCompilerFactory.create(listOf(buildFile))
|
val scriptCompiler = buildFileCompilerFactory.create(listOf(buildFile))
|
||||||
scriptCompiler.observable.subscribe {
|
scriptCompiler.observable.subscribe {
|
||||||
buildScriptInfo -> if (buildScriptInfo.projects.size() > 0) {
|
buildScriptInfo -> if (buildScriptInfo.projects.size() > 0) {
|
||||||
sender.sendData(toJson(buildScriptInfo))
|
sender.sendData(toData(buildScriptInfo))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scriptCompiler.compileBuildFiles(args)
|
scriptCompiler.compileBuildFiles(args)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun toJson(info: BuildFileCompiler.BuildScriptInfo) : CommandData {
|
private fun toData(info: BuildFileCompiler.BuildScriptInfo) : CommandData {
|
||||||
val executor = executors.miscExecutor
|
val executor = executors.miscExecutor
|
||||||
val projects = arrayListOf<ProjectData>()
|
val projects = arrayListOf<ProjectData>()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue