mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: add option to skip building Linux tar.gz artifacts without bundled JRE
This commit is contained in:
@@ -50,6 +50,8 @@ class BuildOptions {
|
||||
static final String MAC_SIGN_STEP = "mac_sign"
|
||||
/** Build Linux artifacts. */
|
||||
static final String LINUX_ARTIFACTS_STEP = "linux_artifacts"
|
||||
/** Build Linux tar.gz artifact without bundled JRE. */
|
||||
static final String LINUX_TAR_GZ_WITHOUT_BUNDLED_JRE_STEP = "linux_tar_gz_without_jre"
|
||||
/** Build *.exe installer for Windows distribution. If skipped, only .zip archive will be produced. */
|
||||
static final String WINDOWS_EXE_INSTALLER_STEP = "windows_exe_installer"
|
||||
/** Build Frankenstein artifacts. */
|
||||
|
||||
+3
-1
@@ -58,7 +58,9 @@ class LinuxDistributionBuilder extends OsSpecificDistributionBuilder {
|
||||
void buildArtifacts(String osSpecificDistPath) {
|
||||
buildContext.executeStep("Build Linux .tar.gz", BuildOptions.LINUX_ARTIFACTS_STEP) {
|
||||
if (customizer.buildTarGzWithoutBundledJre) {
|
||||
buildTarGz(null, osSpecificDistPath, "-no-jbr")
|
||||
buildContext.executeStep("Build Linux .tar.gz without bundled JRE", BuildOptions.LINUX_TAR_GZ_WITHOUT_BUNDLED_JRE_STEP) {
|
||||
buildTarGz(null, osSpecificDistPath, "-no-jbr")
|
||||
}
|
||||
}
|
||||
def jreDirectoryPath = buildContext.bundledJreManager.extractLinuxJre()
|
||||
if (jreDirectoryPath != null) {
|
||||
|
||||
Reference in New Issue
Block a user