default: check
init:
rustup component add clippy rustfmt
install:
cargo install --path . --locked --force
build:
cargo build
run *ARGS:
cargo run -- {{ARGS}}
test:
cargo test
lint:
cargo clippy -- -D warnings
fmt:
cargo fmt
check-fmt:
cargo fmt -- --check
publish:
cargo publish --dry-run
record: install
PATH="$(pwd)/target/release:$PATH" teasr showme
check: check-fmt lint test
ci: check-fmt lint build test