.PHONY: build clean install dev test publish

build:
	python -m build

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

install:
	pip install .

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

test:
	pytest

publish: clean build
	python -m twine upload dist/*

publish-test: clean build
	python -m twine upload --repository testpypi dist/*
