forked from x402-rs/x402-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
62 lines (54 loc) · 2.19 KB
/
Copy pathjustfile
File metadata and controls
62 lines (54 loc) · 2.19 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
build-all:
cd facilitator/ && cargo build
cd crates/chains/x402-chain-eip155 && cargo build
cd crates/chains/x402-chain-solana && cargo build
cd crates/x402-types && cargo build
cd crates/x402-axum && cargo build
cd crates/x402-reqwest && cargo build
cd examples/x402-axum-example && cargo build
cd examples/x402-reqwest-example && cargo build
format-all:
cd facilitator/ && cargo fmt
cd crates/chains/x402-chain-eip155 && cargo fmt
cd crates/chains/x402-chain-solana && cargo fmt
cd crates/x402-types && cargo fmt
cd crates/x402-axum && cargo fmt
cd crates/x402-reqwest && cargo fmt
cd examples/x402-axum-example && cargo fmt
cd examples/x402-reqwest-example && cargo fmt
fmt-all: format-all
clippy-all:
cd facilitator/ && cargo clippy
cd crates/chains/x402-chain-eip155 && cargo clippy
cd crates/chains/x402-chain-solana && cargo clippy
cd crates/chains/x402-chain-aptos && cargo clippy
cd crates/x402-types && cargo clippy
cd crates/x402-axum && cargo clippy
cd crates/x402-reqwest && cargo clippy
cd examples/x402-axum-example && cargo clippy
cd examples/x402-reqwest-example && cargo clippy
check-all:
cd facilitator/ && cargo check --features full
cd crates/chains/x402-chain-eip155 && cargo check --features full
cd crates/chains/x402-chain-solana && cargo check --features full
cd crates/chains/x402-chain-aptos && cargo check --features full
cd crates/x402-types && cargo check --features full
cd crates/x402-axum && cargo check --features full
cd crates/x402-reqwest && cargo check --features full
cd examples/x402-axum-example && cargo check --features full
cd examples/x402-reqwest-example && cargo check --features full
test-all:
cd facilitator/ && cargo test
cd crates/chains/x402-chain-eip155 && cargo test
cd crates/chains/x402-chain-solana && cargo test
cd crates/x402-axum && cargo test
cd crates/x402-reqwest && cargo test
cd examples/x402-axum-example && cargo test
cd examples/x402-reqwest-example && cargo test
# Protocol Compliance Tests
compliance-install:
cd protocol-compliance && pnpm install
compliance-typecheck:
cd protocol-compliance && pnpm typecheck
compliance-test-all: build-all
cd protocol-compliance && pnpm test