.PHONY: codegen test test-unit test-integration build publish clean check

codegen:
	python scripts/regen_models.py

test: test-unit test-integration

test-unit:
	pytest tests/ -m "not integration" -q

test-integration:
	pytest tests/integration/ -q

build:
	python -m build

check:
	twine check dist/*

publish:
	twine upload dist/*

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