Files
mp-ai-module-controller/scripts/precommit-check.sh
T

14 lines
231 B
Bash
Raw Normal View History

2026-07-21 11:10:20 -05:00
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
cargo fmt --check
cargo test
cargo run -- dictionary generate
test -s dictionary/actions.jsonl
test -s dictionary/actions.index.json
echo "precommit check complete"