Skip to content

Commit

Permalink
feat(abg): prefix the temporary directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Sep 8, 2024
1 parent 2118339 commit 1842514
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private fun generateBinding(
}

private fun compileBinding(sourceFilePaths: List<Path>): Path {
val compilationOutput = createTempDirectory()
val compilationOutput = createTempDirectory(prefix = "gwkt-classes_")

val args =
K2JVMCompilerArguments().apply {
Expand Down Expand Up @@ -98,7 +98,7 @@ private fun compileBinding(sourceFilePaths: List<Path>): Path {
}

private fun List<ActionBinding>.prepareDirectoryWithSources(): Pair<List<Path>, Path> {
val directory = createTempDirectory()
val directory = createTempDirectory(prefix = "gwkt-sources_")
val sourceFilePaths =
this
.map { binding ->
Expand Down

0 comments on commit 1842514

Please sign in to comment.