From c3b7f340e8caf6690c454f3b431c8ceb1830a271 Mon Sep 17 00:00:00 2001 From: sora <2075279110@qq.com> Date: Tue, 28 Jul 2026 02:16:19 +0000 Subject: [PATCH] Add install.sh wrapper pointing to scripts/deploy_evalscope.sh --- install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..a62b51b --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# ============================================================ +# EvalScope 一键安装脚本(入口包装器) +# 实际逻辑位于 scripts/deploy_evalscope.sh +# ============================================================ + +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +DEPLOY_SCRIPT="$SCRIPT_DIR/scripts/deploy_evalscope.sh" + +if [ ! -f "$DEPLOY_SCRIPT" ]; then + echo "ERROR: 未找到部署脚本 $DEPLOY_SCRIPT" >&2 + exit 1 +fi + +exec bash "$DEPLOY_SCRIPT" "$@"