.DEFAULT_GOAL := build
.PHONY: build
build: target/doc
cargo build
.PHONY: test
test: target/doc
cargo test -- --nocapture
.PHONY: clean
clean:
rm -rf \
target
target/doc: Cargo.*
cargo doc
.PHONY: lint
lint:
cargo +nightly clippy -- -Wclippy::pedantic