#!/bin/bash
|
# Shared C2.builds layout for packaging and QA scripts.
|
|
BUILD_ROOT="${BUILD_ROOT:-$OUTPUT_ROOT/C2.builds}"
|
BUILD_OLD_RELEASE_ROOT="$BUILD_ROOT/X-旧版build成果"
|
BUILD_WORK_ROOT="$BUILD_ROOT/Z-研发中间产物"
|
BUILD_CURRENT_ROOT="$BUILD_WORK_ROOT/current"
|
BUILD_REPORT_ROOT="$BUILD_WORK_ROOT/qa-reports"
|
BUILD_LOCK_ROOT="$BUILD_WORK_ROOT/locks"
|
BUILD_TMP_ROOT="$BUILD_WORK_ROOT/tmp"
|
BUILD_ICON_WORK_ROOT="$BUILD_WORK_ROOT/icon-work"
|
BUILD_DEFAULT_CURRENT_APP="$BUILD_CURRENT_ROOT/Aligner.app"
|
BUILD_CURRENT_APP="${ALIGNER_APP_PATH:-$BUILD_DEFAULT_CURRENT_APP}"
|
|
mkdir -p \
|
"$BUILD_ROOT" \
|
"$BUILD_OLD_RELEASE_ROOT" \
|
"$BUILD_CURRENT_ROOT" \
|
"$BUILD_REPORT_ROOT" \
|
"$BUILD_LOCK_ROOT" \
|
"$BUILD_TMP_ROOT" \
|
"$BUILD_ICON_WORK_ROOT"
|