-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (31 loc) · 1.6 KB
/
Copy pathMakefile
File metadata and controls
47 lines (31 loc) · 1.6 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
40
41
42
43
44
45
46
47
SHELL := /bin/bash
.PHONY: test rust-test rust-verify rust-verify-report rust-release-build rust-proof package-check release-check cli-smoke doctor mcp-smoke mcp-soak shell-matrix install-smoke package-audit
test: rust-test
rust-test:
@cargo test --workspace
rust-verify:
@scripts/rust_verify.sh
rust-verify-report:
@scripts/rust_verify.sh --robot --output-json results/current/rust_verify.json
rust-release-build:
@cargo build --release -p tokenzero
rust-proof: rust-verify rust-release-build mcp-smoke mcp-soak shell-matrix install-smoke package-audit
package-check: rust-release-build package-audit
release-check: rust-proof
cli-smoke:
@target/debug/tokenzero read README.md --json >/dev/null
@target/debug/tokenzero grep TokenZero README.md docs crates --json >/dev/null
@target/debug/tokenzero glob 'crates/**/*.rs' . --json >/dev/null
@target/debug/tokenzero run --json -- echo ok >/dev/null
doctor:
@target/debug/tokenzero doctor --json
mcp-smoke:
@target/debug/tokenzero mcp-smoke --output-md results/current/rust_mcp_smoke.md --output-json results/current/rust_mcp_smoke.json --json
mcp-soak:
@target/debug/tokenzero mcp-soak --output-md results/current/rust_mcp_soak.md --output-json results/current/rust_mcp_soak.json --json
shell-matrix:
@target/debug/tokenzero shell-matrix --output-md results/current/rust_shell_matrix_local.md --output-json results/current/rust_shell_matrix_local.json --json
install-smoke:
@target/debug/tokenzero install-smoke --output-json results/current/rust_install_smoke.json --json
package-audit:
@target/release/tokenzero package-audit --dist target/release --json