.PHONY: all
all: test doc
test:
cargo test
doc:
cargo doc --no-deps --document-private-items
doc-open:
cargo doc --no-deps --document-private-items --open
clean:
cargo clean
check:
cargo check
release:
cargo build --release
run:
cargo run
fmt:
cargo fmt
lint:
cargo clippy -- -D warnings
local_install:
cargo install --path .
pre-publish: fmt lint check test doc
git diff --exit-code
cargo publish -p cargo-cycles --dry-run
publish: pre-publish
cargo publish -p cargo-cycles