mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Forgot a mkdirs().
This commit is contained in:
parent
3f4d4bd41e
commit
13e7aae4e8
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ class KotlinCompiler @Inject constructor(
|
||||||
// create a directory if the output is not a jar file
|
// create a directory if the output is not a jar file
|
||||||
if (! outputDir.endsWith(".jar")) {
|
if (! outputDir.endsWith(".jar")) {
|
||||||
File(outputDir).mkdirs()
|
File(outputDir).mkdirs()
|
||||||
|
} else {
|
||||||
|
File(outputDir).parentFile.mkdirs()
|
||||||
}
|
}
|
||||||
val allArgs = arrayListOf(
|
val allArgs = arrayListOf(
|
||||||
"-d", outputDir,
|
"-d", outputDir,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue