.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 || echo "already versioned" git push cargo publish git tag -f published git push --tags .PHONY: lint lint: cargo +nightly clippy -- -Wclippy::pedantic .PHONY: upgrade upgrade: cargo upgrade --incompatible