Files
tampy/Makefile

28 lines
549 B
Makefile

.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