.PHONY: build release test lint fmt check clean install
build:
cargo build
release:
cargo build --release
test:
cargo test
lint:
cargo clippy -- -D warnings
fmt:
cargo fmt
check:
cargo fmt -- --check
cargo clippy -- -D warnings
cargo test
clean:
cargo clean
install: release
cp target/release/unifi-cli ~/.local/bin/unifi-cli