Files
openide/build/scripts/OpenSourceCommunityInstallersBuildTarget.kt
Leonid Shalupov 9b8afd1e4b build-scripts: rename open source build target
now they're partially clash with other targets

GitOrigin-RevId: ed2ae7003325ee4befd433e82a9835a1718d377c
2022-02-13 16:03:37 +00:00

18 lines
758 B
Kotlin

// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
import org.jetbrains.intellij.build.BuildOptions
import org.jetbrains.intellij.build.IdeaCommunityBuilder
import org.jetbrains.intellij.build.IdeaProjectLoaderUtil
object OpenSourceCommunityInstallersBuildTarget {
@JvmStatic
fun main(args: Array<String>) {
val options = BuildOptions().apply {
// we cannot provide consistent build number for IDEA Community if it's built separately so use *.SNAPSHOT number to avoid confusion
buildNumber = null
}
val communityHome = IdeaProjectLoaderUtil.guessCommunityHome(javaClass).toString()
IdeaCommunityBuilder(communityHome, options).buildDistributions()
}
}