Files
mp-ai-module-controller/scripts/precommit-check.sh
T
2026-07-21 11:10:20 -05:00

14 lines
231 B
Bash
Executable File

#!/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"