mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
build scripts: IntelliJ IDEA Community with open-source plugins only
IJI-2599 GitOrigin-RevId: 23079811eade22aebae4bc86cc82db2750ce412e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b2aa5b7bac
commit
bbede7024b
@@ -23,7 +23,7 @@ class IdeaCommunityBuildTest {
|
||||
productProperties = productProperties,
|
||||
buildCrossPlatformDistribution = true,
|
||||
) {
|
||||
it.classOutDir = System.getProperty(BuildOptions.PROJECT_CLASSES_OUTPUT_DIRECTORY_PROPERTY) ?: "$homePath/out/classes"
|
||||
it.classOutDir = it.classOutDir ?: "$homePath/out/classes"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -209,7 +209,9 @@ private suspend fun prepareConfigurationFiles(nsiConfDir: Path, customizer: Wind
|
||||
private fun amendVersionNumber(base: String): String = base + ".0".repeat(3 - base.count { it == '.' })
|
||||
|
||||
private suspend fun prepareSignTool(nsiConfDir: Path, context: BuildContext, uninstallerCopy: Path): Path {
|
||||
val toolFile = context.proprietaryBuildTools.signTool.commandLineClient(context, OsFamily.currentOs, JvmArchitecture.currentJvmArch)!!
|
||||
val toolFile = context.proprietaryBuildTools.signTool
|
||||
.commandLineClient(context, OsFamily.currentOs, JvmArchitecture.currentJvmArch)
|
||||
?: error("No command line sign tool is configured")
|
||||
val scriptFile = Files.writeString(nsiConfDir.resolve("sign-tool.cmd"), when (OsFamily.currentOs) {
|
||||
// moving the file back and forth is required for NSIS to fail if signing didn't happen
|
||||
OsFamily.WINDOWS -> """
|
||||
|
||||
Reference in New Issue
Block a user