mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
build scripts: IntelliJ IDEA Community with open-source plugins only
IJI-2599 (cherry picked from commit 23079811eade22aebae4bc86cc82db2750ce412e) IJ-MR-168904 GitOrigin-RevId: cf93f5cdba89f5515a91d308bc8f3cca9a695155
This commit is contained in:
committed by
intellij-monorepo-bot
parent
68e20d9aa8
commit
05ea6ef054
@@ -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