diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ba149b6 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.PHONY: install test build clean help + +install: + pip install -e ".[dev]" + +test: + pytest tests/ -v + +build: + python -m build + +clean: + rm -rf dist/ build/ .venv/ + find . -type d -name __pycache__ -exec rm -rf {} + + find . -type f -name "*.pyc" -delete + +help: + @echo "Available commands:" + @echo " make install - Install in development mode" + @echo " make test - Run tests" + @echo " make build - Build package" + @echo " make clean - Clean build artifacts" + @echo " make - Run tests (default)" + +.DEFAULT_GOAL := help + +test: test