-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
39 lines (32 loc) · 1.26 KB
/
Copy pathjustfile
File metadata and controls
39 lines (32 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
set shell := ["bash", "-euo", "pipefail", "-c"]
# Build the two web bundles required by Rust's embed-ui feature.
web-assets:
npm --prefix ui ci --no-audit --no-fund
npm --prefix ui run build
npm --prefix client ci --no-audit --no-fund
npm --prefix client run build
# Run every mandatory local Rust gate.
check: web-assets
python3 scripts/check_dependency_sources.py
python3 scripts/check_workspace_docs.py
cargo fmt --all -- --check
cargo build --workspace --all-features --locked
cargo clippy --workspace --all-features --locked -- -D warnings
cargo test --workspace --all-features --locked
test: web-assets
cargo test --workspace --all-features --locked
# P2 replaces this smoke assertion with generated façade contract tests.
test-compat:
test -f docs/API-COMPATIBILITY.md
test-e2e:
npm --prefix ui ci --no-audit --no-fund
npm --prefix ui exec playwright install --with-deps chromium
npm --prefix ui run test:e2e
# P2 replaces this smoke assertion with capture/replay and coverage reporting.
conformance:
test -f docs/UNIFIED-ARR-PLAN.md
test -f docs/API-COMPATIBILITY.md
smoke:
cargo build --workspace --locked
python3 scripts/check_dependency_sources.py
python3 scripts/check_workspace_docs.py