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 Aug 20, 2024
1 parent a5405aa commit e888756
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal fun ActionCoords.buildJars(types: String?): Jars? {
}

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

val args =
K2JVMCompilerArguments().apply {
Expand Down Expand Up @@ -78,7 +78,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 e888756

Please sign in to comment.