Spaces:
Sleeping
Sleeping
| # Makefile for Calculus Animator | |
| # Provides convenient shortcuts for common development tasks | |
| .PHONY: help install install-dev test test-quick test-full test-fuzz test-e2e lint format type-check quality clean build run run-ai | |
| # Default target | |
| help: | |
| # Installation | |
| install: | |
| pip install -r requirements.txt | |
| install-dev: install | |
| pip install -r requirements-dev.txt | |
| # Testing | |
| test: | |
| python scripts/run_tests.py | |
| test-quick: | |
| python scripts/run_tests.py --quick | |
| test-full: | |
| python scripts/run_tests.py --full | |
| test-fuzz: | |
| python scripts/run_tests.py --fuzz | |
| test-e2e: | |
| python scripts/run_tests.py --e2e | |
| # Code Quality | |
| lint: | |
| ruff check . | |
| lint-fix: | |
| ruff check . --fix | |
| format: | |
| ruff format . | |
| type-check: | |
| mypy api core | |
| quality: | |
| python scripts/run_quality.py | |
| # Development | |
| run: | |
| python run.py | |
| # Build | |
| build: | |
| python scripts/build_release.py | |
| clean: | |
| rm -rf build/ dist/ __pycache__ .pytest_cache .mypy_cache | |
| find . -type d -name __pycache__ -exec rm -rf {} + | |
| find . -type f -name "*.pyc" -delete | |
| # Release Helpers | |
| release-check: | |
| python scripts/run_release_checklist.py | |
| # Documentation | |
| docs-serve: | |
| # All checks before PR | |
| pr-ready: lint type-check test | |