0.6 rust重构01

This commit is contained in:
lix-2026
2026-04-14 13:22:29 +08:00
parent 71fb1aee7e
commit 84a8454fa9
401 changed files with 5841 additions and 1512 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -euo pipefail
# Harness 会在每次会话启动时执行此脚本,这里只做轻量且可重复执行的环境检查。
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$ROOT_DIR"
command -v git >/dev/null || {
echo "ERROR: 缺少 git"
exit 1
}
command -v python3 >/dev/null || {
echo "ERROR: 缺少 python3"
exit 1
}
if [ -d "$ROOT_DIR/wolai-frontend" ]; then
if ! command -v node >/dev/null; then
echo "WARN: 缺少 node,前端相关任务可能无法执行"
fi
if ! command -v pnpm >/dev/null; then
echo "WARN: 缺少 pnpm,前端相关任务可能无法执行"
fi
fi
echo "Harness 环境检查完成"