chore(dev): justfile (ядро) + CI-гейт (lint/test/deny) + rustfmt

just ci зелёный: fmt + clippy(-D warnings) + 6 unit-тестов common + cargo-deny.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Alexander <akotenev2003@gmail.com>
This commit is contained in:
2026-06-24 12:01:04 +03:00
parent b969d35b81
commit 54f17cbf4e
4 changed files with 67 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
# Штурман — единые dev-команды (расширяется по планам реализации).
set shell := ["bash", "-uc"]
# список целей
default:
@just --list
# собрать весь воркспейс
build:
cargo build --workspace
# тесты (unit + integration)
test:
cargo test --workspace
# линт: формат + clippy (warnings = ошибки)
lint:
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
# лицензии + advisories
deny:
cargo deny check
# полный локальный гейт
ci: lint test deny