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