battered 0.8.0

Make the most of your laptop's battery life with custom actions and informative desktop notifications.
alias cov := coverage

# run unit tests
@test:
    echo "Runnint unit tests"
    cargo test

# generate coverage report
@coverage REPORT_TYPE='Html':
    cargo tarpaulin --out {{REPORT_TYPE}}

# clean dist
@clean:
    echo "Cleaning up existing artifacts…"
    cargo clean

# build dist
@build: clean
    echo "Building dist"
    cargo build --release

# publish to crates.io
@publish:
    echo "Publishing to crates.io"
    cargo login
    cargo publish

@debug:
    echo "Running with debug logging"
    RUST_LOG=debug cargo run