dnd 0.0.0-reserved

D&D 5e types and common mechanics
_default:
    cargo just --list -u

init:
    cargo tool --install

lint: lint-check

lint-check:
    cargo clippy --no-deps --all-targets --all-features -- -D warnings

lint-fix:
    cargo clippy --no-deps --all-targets --all-features --fix

format: format-fix

format-check:
    cargo fmt --all -- --check
    cargo tool taplo format --check

format-fix:
    cargo fmt --all
    cargo tool taplo format

fix:
    cargo just format-fix
    cargo just lint-fix

check:
    cargo just format
    cargo just lint

test *ARGS:
    cargo tool cargo-nextest run {{ARGS}}


test-all:
    cargo just test --all-features
    
coverage *ARGS:
    cargo tool cargo-llvm-cov --open

coverage-gen:
    cargo tool cargo-llvm-cov --lcov --output-path lcov.info