Files
eagle0/scripts/build_eagle_ci.sh
T
adminandGitHub c5400544b0 Sync Bazel Xcode config before Bazel tests (#8318)
* Sync Bazel Xcode config before Bazel tests

* Sync Xcode config across Bazel CI paths
2026-07-07 11:37:09 -07:00

18 lines
422 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
bazel_cmd=(bazel)
if [ -n "${BAZEL_OUTPUT_USER_ROOT:-}" ]; then
bazel_cmd+=("--output_user_root=${BAZEL_OUTPUT_USER_ROOT}")
fi
if [ -n "${BAZEL_OUTPUT_BASE:-}" ]; then
bazel_cmd+=("--output_base=${BAZEL_OUTPUT_BASE}")
fi
if [ "$(uname -s)" = "Darwin" ]; then
./scripts/sync_bazel_xcode.sh
fi
"${bazel_cmd[@]}" build "$@" //src/main/scala/net/eagle0/eagle:eagle_server