set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]

pull: prettier fix

fix: fmt fmt-just
    cargo clippy --workspace --all-features --fix --allow-dirty --allow-staged

fmt:
    cargo fmt --all

fmt-just:
    just --fmt --unstable

prettier:
    # install on Debian: sudo snap install node --classic
    # npx is the command to run npm package, node is the runtime
    npx prettier -w .
