mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Fix missing build file.
This commit is contained in:
parent
ed5d4bfcbc
commit
5b24ada976
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class BuildFiles @Inject constructor(val factory: BuildFileCompiler.IFactory,
|
||||||
//
|
//
|
||||||
val bs = af.file.readLines().subList(section.start, section.end + 1)
|
val bs = af.file.readLines().subList(section.start, section.end + 1)
|
||||||
val source = (af.buildScriptInfo.imports + bs).joinToString("\n")
|
val source = (af.buildScriptInfo.imports + bs).joinToString("\n")
|
||||||
val sourceFile = File(homeDir("t", "bf", "a.kt")).apply {
|
val sourceFile = Files.createTempFile(null, ".kt").toFile().apply {
|
||||||
writeText(source)
|
writeText(source)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue