.PHONY: install dev test lint format typecheck build publish clean

install:
	pip install .

dev:
	pip install -e '.[dev]'

test:
	pytest --cov=tokenable

lint:
	ruff check src/ tests/

format:
	ruff format src/ tests/

typecheck:
	mypy src/tokenable

build:
	python -m build

publish:
	twine upload dist/*

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