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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.PHONY: build test check lint fmt doc clean bridge run-bridge
# ─── Build ─────────────────────────────────────────────────────────────────────
build:
cargo build --workspace
release:
cargo build --release --workspace
bridge:
cargo build --release -p gatewarden-bridge
# ─── Test ──────────────────────────────────────────────────────────────────────
test:
cargo test --workspace
test-lib:
cargo test --lib
test-fse:
cargo test --test fse_invariants --test fse_head_to_head
test-bridge:
cargo test -p gatewarden-bridge
# ─── Quality ───────────────────────────────────────────────────────────────────
check:
cargo check --workspace
lint:
cargo clippy --workspace -- -D warnings
fmt:
cargo fmt
fmt-check:
cargo fmt --check
doc:
cargo doc --no-deps --open
# ─── Run ───────────────────────────────────────────────────────────────────────
run-bridge:
cargo run -p gatewarden-bridge -- bridge.toml
# ─── Release Gate ──────────────────────────────────────────────────────────────
release-check: fmt-check lint test doc
@echo "✅ All release gates passed"
# ─── Clean ─────────────────────────────────────────────────────────────────────
clean:
cargo clean