monitr 0.3.47

A lightweight macOS activity monitor TUI built with Rust and Ratatui
.PHONY: build check fmt install-local run

build:
	cargo build --release --locked

check:
	cargo fmt --check
	cargo clippy --locked --all-targets --all-features -- -D warnings
	cargo test --locked
	cargo build --release --locked

fmt:
	cargo fmt

install-local:
	cargo build --release --locked
	mkdir -p "$$HOME/.local/bin"
	install -m 0755 target/release/monitr "$$HOME/.local/bin/monitr"

run:
	cargo run --locked -- --interval 1000