Debian Codegraph @

Makefile

raw
1 all: test
2
3 build:
4 @cargo build --all-features
5
6 doc:
7 @cargo doc --all-features
8
9 test:
10 @cargo test
11 @cargo test --all-features
12 @cargo test --no-default-features
13 @cargo test --no-default-features --features bytes
14
15 .PHONY: wasi-test
16 wasi-test:
17 @cargo test --all-features --target=wasm32-wasip1 -- --nocapture
18
19 format:
20 @rustup component add rustfmt 2> /dev/null
21 @cargo fmt --all
22
23 format-check:
24 @rustup component add rustfmt 2> /dev/null
25 @cargo fmt --all -- --check
26
27 lint:
28 @rustup component add clippy 2> /dev/null
29 @cargo clippy
30
31 .PHONY: all doc test format format-check lint