workmux 0.1.5

An opinionated workflow tool that orchestrates git worktrees and tmux
# Rust project checks

set positional-arguments
set shell := ["bash", "-euo", "pipefail", "-c"]

# List available commands
default:
    @just --list

# Run format, clippy-fix, and build in parallel
[parallel]
check: format clippy-fix build

# Format Rust files
format:
    cargo fmt --all

# Run clippy with all warnings
clippy:
    cargo clippy -- -W clippy::all

# Auto-fix clippy warnings
clippy-fix:
    cargo clippy --fix --allow-dirty -- -W clippy::all

# Build the project
build:
    cargo build --all

# Run the application
run *ARGS:
    cargo run -- "$@"

# Release a new patch version
release-patch:
    @just _release patch

# Release a new minor version
release-minor:
    @just _release minor

# Release a new major version
release-major:
    @just _release major

# Internal release helper
_release bump:
    @python3 scripts/release.py {{bump}}