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:
@@ -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
|
||||
Reference in New Issue
Block a user