| 1 | SHELL := /bin/bash |
| 2 | |
| 3 | .PHONY: all check test |
| 4 | |
| 5 | all: check test |
| 6 | |
| 7 | check: |
| 8 | cargo build --no-default-features && \ |
| 9 | cargo clippy --no-default-features -- -D warnings && \ |
| 10 | cargo build --all-features && \ |
| 11 | cargo clippy --all-features -- -D warnings && \ |
| 12 | cargo fmt --all -- --check |
| 13 | |
| 14 | test: |
| 15 | cargo test --no-default-features && \ |
| 16 | cargo test --all-features |