| 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 | |
| 12 | format: |
| 13 | @rustup component add rustfmt 2> /dev/null |
| 14 | @cargo fmt --all |
| 15 | |
| 16 | format-check: |
| 17 | @rustup component add rustfmt 2> /dev/null |
| 18 | @cargo fmt --all -- --check |
| 19 | |
| 20 | lint: |
| 21 | @rustup component add clippy 2> /dev/null |
| 22 | @cargo clippy |
| 23 | |
| 24 | .PHONY: all doc test format format-check lint |