1 Star 0 Fork 0

奔跑吧蛋蛋/opencode

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hooks 338 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kevin King 提交于 2025-10-29 07:32 +08:00 . ignore: python sdk (#2779)
#!/bin/sh
if [ ! -d ".git" ]; then
exit 0
fi
mkdir -p .git/hooks
cat > .git/hooks/pre-push << 'EOF'
#!/bin/sh
# Ensure dependencies are installed before typecheck
if command -v bun >/dev/null 2>&1; then
bun install >/dev/null 2>&1 || true
fi
bun run typecheck
EOF
chmod +x .git/hooks/pre-push
echo "✅ Pre-push hook installed"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wenber/opencode.git
git@gitee.com:wenber/opencode.git
wenber
opencode
opencode
dev

搜索帮助