first commi

This commit is contained in:
dela
2025-12-31 17:33:09 +08:00
commit d299afd4ae
53 changed files with 4358 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
# 使用uv安装和运行项目
set -e
echo "🚀 使用 uv 设置项目..."
# 检查uv是否安装
if ! command -v uv &> /dev/null; then
echo "❌ uv 未安装,请先安装 uv:"
echo " curl -LsSf https://astral.sh/uv/install.sh | sh"
exit 1
fi
# 安装项目依赖
echo "📦 安装项目依赖..."
uv pip install -e .
echo "✅ 安装完成!"
echo ""
echo "现在你可以运行:"
echo " checker # 运行命令行工具"
echo " python -m checker # 或使用模块方式"
echo " uv run python -m checker # 使用uv运行"