We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b8c80 commit 6364478Copy full SHA for 6364478
src/main/kotlin/kscript/app/AppHelpers.kt
@@ -362,13 +362,9 @@ exec java -jar ${'$'}0 "${'$'}@"
362
363
val pckgResult = evalBash("cd ${tmpProjectDir} && gradle simpleCapsule && cp build/libs/${appName}*.jar ${pckgedJar} && chmod +x ${pckgedJar}")
364
365
- infoMsg("Finished packaging into ${pckgedJar}")
366
-
367
- // evalBash("idea ${tmpProjectDir.absolutePath}")
368
369
with(pckgResult) {
370
- kscript.app.errorIf(exitCode != 0) { "packaging of '$appName' failed:\n$stderr" }
+ kscript.app.errorIf(exitCode != 0) { "packaging of '$appName' failed:\n$pckgResult" }
371
}
372
373
- // return "idea ${tmpProjectDir.absolutePath}"
+ infoMsg("Finished packaging into ${pckgedJar}")
374
0 commit comments