<commit_before>// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.intellij.build

import com.intellij.util.SystemProperties
import groovy.transform.CompileStatic

/**
 * @author nik
 */
@CompileStatic
class BuildOptions {
  /**
   * By default build scripts compile project classes to a special output directory (to not interfere with the default project output if
   * invoked on a developer machine). Pass 'true' to this system property to skip compilation step and use compiled classes from the project output instead.
   */
  public static final String USE_COMPILED_CLASSES_PROPERTY = "intellij.build.use.compiled.classes"
  boolean useCompiledClassesFromProjectOutput = SystemProperties.getBooleanProperty(USE_COMPILED_CLASSES_PROPERTY, false)

  /**
   * Specifies for which operating systems distributions should be built.
   */
  String targetOS = System.getProperty("intellij.build.target.os", OS_ALL)
  static final String OS_LINUX = "linux"
  static final String OS_WINDOWS = "windows"
  static final String OS_MAC = "mac"
  static final String OS_ALL = "all"
  /**
   * If this value is set no distributions of the product will be produced, only {@link ProductModulesLayout#setPluginModulesToPublish non-bundled plugins}
   * will be built.
   */
  static final String OS_NONE = "none"

  /**
   * Pass comma-separated names of build steps (see below) to 'intellij.build.skip.build.steps' system property to skip them when building locally.
   */
  Set<String> buildStepsToSkip = System.getProperty("intellij.build.skip.build.steps", "").split(",") as Set<String>
  /** Pre-builds SVG icons for all SVG resource files into *.jpix resources to speedup icons loading at runtime */
  static final String SVGICONS_PREBUILD_STEP = "svg_icons_prebuild"
  /** Build actual searchableOptions.xml file. If skipped; the (possibly outdated) source version of the file will be used. */
  static final String SEARCHABLE_OPTIONS_INDEX_STEP = "search_index"
  static final String PROVIDED_MODULES_LIST_STEP = "provided_modules_list"
  static final String GENERATE_JAR_ORDER_STEP = "jar_order"
  static final String SOURCES_ARCHIVE_STEP = "sources_archive"
  static final String SCRAMBLING_STEP = "scramble"
  static final String NON_BUNDLED_PLUGINS_STEP = "non_bundled_plugins"
  /** Build Maven artifacts for IDE modules. */
  static final String MAVEN_ARTIFACTS_STEP = "maven_artifacts"
  /** Build macOS artifacts. */
  static final String MAC_ARTIFACTS_STEP = "mac_artifacts"
  /** Build .dmg file for macOS. If skipped, only .sit archive will be produced. */
  static final String MAC_DMG_STEP = "mac_dmg"
  /** Sign additional binary files in macOS distribution. */
  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. */
  static final String CROSS_PLATFORM_DISTRIBUTION_STEP = "cross_platform_dist"
  /** Toolbox links generator step */
  static final String TOOLBOX_LITE_GEN_STEP = "toolbox_lite_gen"
  /** Generate files containing lists of used third-party libraries */
  static final String THIRD_PARTY_LIBRARIES_LIST_STEP = "third_party_libraries"
  /** Build community distributives */
  static final String COMMUNITY_DIST_STEP = "community_dist"
  /** Publish artifacts to TeamCity storage. Affects many small publication steps */
  static final String TEAMCITY_ARTIFACTS_PUBLICATION = "teamcity_artifacts_publication"
<commit_msg>IJI-73 allow to skip TeamCity artifacts publication: javadoc note about 'Artifact paths'<commit_after>// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.intellij.build

import com.intellij.util.SystemProperties
import groovy.transform.CompileStatic

/**
 * @author nik
 */
@CompileStatic
class BuildOptions {
  /**
   * By default build scripts compile project classes to a special output directory (to not interfere with the default project output if
   * invoked on a developer machine). Pass 'true' to this system property to skip compilation step and use compiled classes from the project output instead.
   */
  public static final String USE_COMPILED_CLASSES_PROPERTY = "intellij.build.use.compiled.classes"
  boolean useCompiledClassesFromProjectOutput = SystemProperties.getBooleanProperty(USE_COMPILED_CLASSES_PROPERTY, false)

  /**
   * Specifies for which operating systems distributions should be built.
   */
  String targetOS = System.getProperty("intellij.build.target.os", OS_ALL)
  static final String OS_LINUX = "linux"
  static final String OS_WINDOWS = "windows"
  static final String OS_MAC = "mac"
  static final String OS_ALL = "all"
  /**
   * If this value is set no distributions of the product will be produced, only {@link ProductModulesLayout#setPluginModulesToPublish non-bundled plugins}
   * will be built.
   */
  static final String OS_NONE = "none"

  /**
   * Pass comma-separated names of build steps (see below) to 'intellij.build.skip.build.steps' system property to skip them when building locally.
   */
  Set<String> buildStepsToSkip = System.getProperty("intellij.build.skip.build.steps", "").split(",") as Set<String>
  /** Pre-builds SVG icons for all SVG resource files into *.jpix resources to speedup icons loading at runtime */
  static final String SVGICONS_PREBUILD_STEP = "svg_icons_prebuild"
  /** Build actual searchableOptions.xml file. If skipped; the (possibly outdated) source version of the file will be used. */
  static final String SEARCHABLE_OPTIONS_INDEX_STEP = "search_index"
  static final String PROVIDED_MODULES_LIST_STEP = "provided_modules_list"
  static final String GENERATE_JAR_ORDER_STEP = "jar_order"
  static final String SOURCES_ARCHIVE_STEP = "sources_archive"
  static final String SCRAMBLING_STEP = "scramble"
  static final String NON_BUNDLED_PLUGINS_STEP = "non_bundled_plugins"
  /** Build Maven artifacts for IDE modules. */
  static final String MAVEN_ARTIFACTS_STEP = "maven_artifacts"
  /** Build macOS artifacts. */
  static final String MAC_ARTIFACTS_STEP = "mac_artifacts"
  /** Build .dmg file for macOS. If skipped, only .sit archive will be produced. */
  static final String MAC_DMG_STEP = "mac_dmg"
  /** Sign additional binary files in macOS distribution. */
  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. */
  static final String CROSS_PLATFORM_DISTRIBUTION_STEP = "cross_platform_dist"
  /** Toolbox links generator step */
  static final String TOOLBOX_LITE_GEN_STEP = "toolbox_lite_gen"
  /** Generate files containing lists of used third-party libraries */
  static final String THIRD_PARTY_LIBRARIES_LIST_STEP = "third_party_libraries"
  /** Build community distributives */
  static final String COMMUNITY_DIST_STEP = "community_dist"
  /**
   * Publish artifacts to TeamCity storage while the build is still running, immediately after the artifacts are built.
   * Comprises many small publication steps.
   * Note: skipping this step won't affect publication of 'Artifact paths' in TeamCity build settings and vice versa
   */
  static final String TEAMCITY_ARTIFACTS_PUBLICATION = "teamcity_artifacts_publication"

{'fraction_non_alphanumeric': 0.07417921500863985, 'fraction_numerical': 0.0027153789187854853, 'mean_word_length': 4.650627615062762, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2772664', 'n_tokens_mistral': 2467, 'n_tokens_neox': 2345, 'n_words': 808}