Add install.sh wrapper pointing to scripts/deploy_evalscope.sh

This commit is contained in:
sora 2026-07-28 02:16:19 +00:00
parent ae5a1a192e
commit c3b7f340e8

17
install.sh Executable file
View File

@ -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" "$@"