Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build_sherlock_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -eu
PROG_DIR="$(cd "$(dirname "$0")" && pwd)"

OUT="${PROG_DIR}/out/sherlock-platform"
DIST="${DIST_DIR:-"${OUT}/dist"}"

readonly AS_BUILD_NUMBER="$(sed 's/\.SNAPSHOT$//' build.txt)"

Expand All @@ -18,3 +19,9 @@ BUILD_PROPERTIES=(
)

"${PROG_DIR}/platform/jps-bootstrap/jps-bootstrap.sh" "${BUILD_PROPERTIES[@]}" "${PROG_DIR}" intellij.idea.community.build SherlockPlatformBuild
# --- Android Build Artifact Copy ---
# If DIST_DIR is set (by the Android Build system), copy the contents of OUT
# to the designated artifact directory for Android Build to persist.
echo "Copying artifacts to ${DIST}"
mkdir -p "$DIST"
cp -Rfv "$OUT"/artifacts/sherlock-platform* "$DIST"