.DEFAULT_GOAL := build
target/doc: Cargo.* src/*.rs
cargo doc
.PHONY: test
build: target/doc
cargo build
.PHONY: test
test:
cargo test
.PHONY: publish
publish:
cargo publish --dry-run
verto
git push
cargo publish
git tag -f published
.PHONY: lint
lint:
cargo +nightly clippy -- -Wclippy::pedantic