termflix 0.6.0

Terminal animation player with 44 procedurally generated animations, multiple render modes, and true color support
.PHONY: build release run test lint fmt typecheck checkall clean deploy ci gallery

build:
	cargo build

release:
	cargo build --release

run:
	cargo run --release -- $(ARGS)

test:
	cargo test

lint:
	cargo clippy -- -D warnings

fmt:
	cargo fmt

fmt-check:
	cargo fmt -- --check

typecheck:
	cargo check

checkall: fmt lint typecheck test build

install:
	cargo install --path .

# Capture all animations to ./gallery as PNG+GIF with index.html.
# Filter or override via ARGS, e.g.:
#   make gallery
#   make gallery ARGS="fire,plasma"
#   make gallery ARGS="fire --gallery-dir /tmp/g"
gallery:
	cargo run --release -- --gallery $(ARGS)

clean:
	cargo clean

# Trigger CI workflow on GitHub
ci:
	gh workflow run ci.yml
	@echo "CI triggered — watch at https://github.com/paulrobello/termflix/actions"

# Trigger release + deploy workflow on GitHub
deploy:
	gh workflow run release.yml
	@echo "Deploy triggered — watch at https://github.com/paulrobello/termflix/actions"