lez-programs/Makefile
r4bbit dc3cfd726e
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-21 18:04:48 +02:00

18 lines
499 B
Makefile

.PHONY: clippy clippy-guest clippy-all test fmt
clippy:
RISC0_SKIP_BUILD=1 cargo clippy --workspace --all-targets -- -D warnings
clippy-guest:
for manifest in token/methods/guest/Cargo.toml amm/methods/guest/Cargo.toml ata/methods/guest/Cargo.toml stablecoin/methods/guest/Cargo.toml; do \
cargo clippy --manifest-path "$$manifest" --all-targets -- -D warnings || exit 1; \
done
clippy-all: clippy clippy-guest
test:
RISC0_DEV_MODE=1 cargo test --workspace
fmt:
cargo +nightly fmt --all