.PHONY: prepare check test examples update publish
prepare:
cargo +nightly fmt
cargo clippy --fix --all-targets --all-features --locked --allow-dirty --allow-staged -- -D warnings
cargo check --all-features --release --locked
check:
cargo +nightly fmt --check
cargo clippy --all-targets --all-features --locked -- -D warnings
cargo check --all-features --release --locked
test:
cargo test --all-features --locked
examples:
rm -rf examples/*.svg
cargo run -r --example generate --all-features --locked
update:
cargo upgrade -i
cargo run -r --example update-icons --locked
cargo run -r --example update-widths --locked
cargo +nightly fmt
cargo check --all-features --locked
publish:
cargo publish --locked