Skip to content

Commit

Permalink
Fix commandline
Browse files Browse the repository at this point in the history
  • Loading branch information
chippmann committed Aug 22, 2024
1 parent fc78595 commit fed7c05
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions harness/tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ tasks {

isIgnoreExitValue = true

environment("JAVA_HOME", System.getProperty("java.home"))
workingDir = projectDir

val editorExecutable: String = provideEditorExecutable().absolutePath

if (HostManager.hostIsMingw) {
Expand Down Expand Up @@ -94,16 +97,14 @@ tasks {
else -> throw IllegalStateException("Unsupported OS for exporting")
}

doLast {
projectDir.resolve("export").mkdirs()
projectDir.resolve("export").mkdirs()

commandLine(
provideEditorExecutable().absolutePath,
"--headless",
"--export-release",
target,
)
}
commandLine(
provideEditorExecutable().absolutePath,
"--headless",
"--export-release",
target,
)
}
register<Exec>("runGutTests") {
group = "verification"
Expand Down

0 comments on commit fed7c05

Please sign in to comment.