Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust
377 B
Raw Blame
#!/bin/zsh
# 提交前门槛:格式检查 + 数据层测试 + 全仓编译检查。
# 启用(一次):git config core.hooksPath scripts/hooks
set -e

echo "pre-commit: cargo fmt --check"
cargo fmt --all --check

echo "pre-commit: cargo test -p wake-core"
cargo test -p wake-core --quiet

echo "pre-commit: cargo check -p wake"
cargo check -p wake --quiet

echo "pre-commit: ok"