.PHONY: help install dev run test clean format lint help: @echo "MiniProfiler - Available commands:" @echo "" @echo " make install - Install the package with uv" @echo " make dev - Install in development mode with dev dependencies" @echo " make run - Run the web server" @echo " make test - Run tests" @echo " make sample - Generate sample profiling data" @echo " make clean - Remove build artifacts and caches" @echo " make format - Format code with black" @echo " make lint - Lint code with ruff" @echo "" install: cd host && uv pip install -e . dev: cd host && uv pip install -e ".[dev]" run: cd host && python run.py test: cd host && pytest sample: cd host/tests && python sample_data_generator.py clean: find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true find . -type f -name "*.pyc" -delete find . -type f -name "*.pyo" -delete find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true find . -type d -name ".coverage" -exec rm -rf {} + 2>/dev/null || true find . -type f -name ".coverage" -delete rm -rf host/build host/dist 2>/dev/null || true format: cd host && black miniprofiler tests lint: cd host && ruff check miniprofiler tests