feat: add Makefile for easy build and test

This commit is contained in:
2026-05-03 13:10:06 -05:00
parent 31cc276643
commit 1d124d29d4

27
Makefile Normal file
View File

@@ -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