.PHONY: build release test clean install example
all: build
build:
cargo build
release:
cargo build --release
test:
cargo test
test-verbose:
cargo test -- --nocapture
clean:
cargo clean
install:
cargo install --path .
example:
cargo run --example basic_usage
help:
cargo run -- --help
fmt:
cargo fmt
lint:
cargo clippy -- -D warnings
check: fmt lint test
docs:
cargo doc --open
dist: release
@echo "Release binary available at: target/release/vpk"
@ls -lh target/release/vpk
pack: build
cargo run -- pack
unpack: build
cargo run -- unpack
list: build
cargo run -- list
verify: build
cargo run -- verify
extract: build
cargo run -- extract