.PHONY: install test check lint format smoke clean

install:
	uv sync --group dev
	uv run pre-commit install

test:
	uv run pytest

check: lint test

lint:
	uvx ruff check ckills tests main.py
	uvx ruff format --check ckills tests main.py
	uv run ty check ckills main.py

format:
	uvx ruff check --fix ckills tests main.py
	uvx ruff format ckills tests main.py

smoke:
	uv run ckills --help
	uv run ckills list-plugins --root examples/marketplace

clean:
	rm -rf dist build *.egg-info .pytest_cache
