Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
82 lines (73 loc) · 3.08 KB
/
Copy pathjustfile
File metadata and controls
82 lines (73 loc) · 3.08 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
build-all:
cd facilitator/ && cargo build
cd crates/chains/x402-chain-eip155 && cargo build
cd crates/chains/x402-chain-solana && cargo build
cd crates/chains/x402-chain-tron && cargo build
cd crates/x402-types && cargo build
cd crates/x402-axum && cargo build
cd crates/x402-reqwest && cargo build
cd crates/x402-facilitator-local && cargo build
cd examples/x402-axum-example && cargo build
cd examples/x402-reqwest-exact && 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/chains/x402-chain-tron && cargo fmt
cd crates/x402-types && cargo fmt
cd crates/x402-axum && cargo fmt
cd crates/x402-reqwest && cargo fmt
cd crates/x402-facilitator-local && cargo fmt
cd examples/x402-axum-example && cargo fmt
cd examples/x402-reqwest-exact && 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-tron && 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 crates/x402-facilitator-local && cargo clippy
cd examples/x402-axum-example && cargo clippy
cd examples/x402-reqwest-exact && 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-tron && cargo check --all-features
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 crates/x402-facilitator-local && cargo check --features full
cd examples/x402-axum-example && cargo check --features full
cd examples/x402-reqwest-exact && 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/chains/x402-chain-tron && cargo test
cd crates/x402-types && cargo test
cd crates/x402-axum && cargo test
cd crates/x402-reqwest && cargo test
cd crates/x402-facilitator-local && cargo test
cd examples/x402-axum-example && cargo test
cd examples/x402-reqwest-exact && cargo test
# Protocol Conformance Tests
conformance-install:
cd protocol-conformance && pnpm install
conformance-typecheck:
cd protocol-conformance && pnpm typecheck
conformance: build-all
cd protocol-conformance && pnpm test
cargo-publish-all:
cd crates/x402-types && cargo publish
cd crates/chains/x402-chain-eip155 && cargo publish
cd crates/chains/x402-chain-solana && cargo publish
cd crates/chains/x402-chain-tron && cargo publish
cd crates/x402-axum && cargo publish
cd crates/x402-reqwest && cargo publish
cd crates/x402-facilitator-local && cargo publish