# bmo build recipes
_default:
just --list
# Run all tests
test *args:
cargo nextest run --failure-output=immediate {{args}}
# Check formatting and run clippy
check:
just lint
cargo check --all
# Alias for check
lint:
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
# Release build
build:
cargo build --release
# Remove build artifacts
clean:
cargo clean
# Install binary to Cargo bin path
install:
cargo install --path .
# Run cargo fmt
fmt:
cargo fmt
# Create a shareable link for an episode
share episode_id:
cargo run -- share {{episode_id}}