fabrilis/.githooks/pre-commit
loki5512344 79928b645b
Initial commit: Fabrilis docs, rules and deterministic core
Docs (architecture, decisions, coupling, determinism, UI, references), code rules enforced by tools/limits, deterministic core with units, time, math, sched, snapshot, vec and rng, plus smoke tests. ref/ stays out of git.
2026-11-16 23:06:29 +01:00

6 lines
207 B
Bash
Executable file

#!/usr/bin/env bash
# Включить: git config core.hooksPath .githooks
set -euo pipefail
cargo run -q -p fabrilis-limits
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings