.DEFAULT_GOAL := build
clean:
cargo clean
build: clean
export RUSTFLAGS="-C target-feature=+crt-static"
cargo build --release
dev:
cargo watch -- cargo build
lint:
cargo clippy
cargo fmt --check
lint-fix:
cargo clippy --fix --allow-dirty
cargo fmt
version:
@cargo pkgid | sed 's/.*[@#]\(.*\)/\1/'
changelog:
npx gitmoji-changelog --preset cargo
demo:
@vhs demo.tape