Files
crank/justfile
T
bsodfather 0e8f1ca03a
CI / Rust Checks (push) Failing after 4m28s
CI / UI Checks (push) Has been skipped
CI / Frontend E2E (push) Has been skipped
CI / Community Image Smoke (push) Has been skipped
CI / Deploy (push) Has been skipped
наблюдаемость: завершить базовый контур Community
Добавить структурированные журналы, метрики, трассировку и безопасный канал критических ошибок. Усилить границы рантайма, тесты, проверку зависимостей и сценарии развёртывания.
2026-07-31 01:01:14 +03:00

64 lines
1.2 KiB
Makefile

fmt:
cargo fmt --all
fmt-check:
cargo fmt --all --check
tooling-test:
python3 -m unittest discover -s tests/unit
community-scope-check:
scripts/check-community-scope.sh
rust-boundaries:
scripts/check-rust-boundaries.sh
rust-code-health:
scripts/check-rust-code-health.sh
dependencies:
scripts/check-dependencies.sh
check:
cargo check --workspace
clippy:
cargo clippy --workspace --all-targets --all-features -- -D warnings
test:
cargo test --workspace --all-targets
sqlx-prepare database_url:
DATABASE_URL={{database_url}} cargo sqlx prepare --workspace -- --all-targets
sqlx-check:
SQLX_OFFLINE=true cargo check --workspace
verify:
just tooling-test
just community-scope-check
just rust-boundaries
just rust-code-health
just dependencies
just fmt-check
just clippy
just test
ui-build:
docker build -f apps/ui/Dockerfile .
verify-ui:
just ui-build
ui-e2e:
cd apps/ui && npm run e2e
staging-smoke base_url:
bash scripts/staging-smoke.sh {{base_url}}
authenticated-staging-smoke base_url:
bash scripts/authenticated-staging-smoke.sh {{base_url}}
authenticated-product-smoke base_url:
bash scripts/authenticated-product-smoke.sh {{base_url}}