.PHONY: help run-ui run-server clean install docs test lint format help: @echo "EcoMCP - Make Commands" @echo "=====================" @echo "" @echo "Setup & Installation:" @echo " make install - Install dependencies" @echo "" @echo "Running:" @echo " make run-ui - Launch Gradio UI" @echo " make run-server - Launch MCP server standalone" @echo "" @echo "Development:" @echo " make format - Format code with black" @echo " make lint - Check code quality" @echo " make test - Run tests" @echo " make docs - View documentation" @echo "" @echo "Maintenance:" @echo " make clean - Clean up generated files" @echo " make archive-show - Show archived files" @echo "" install: @echo "Installing dependencies..." pip install -r requirements.txt run-ui: @echo "Starting Gradio UI..." python run_ui.py run-server: @echo "Starting MCP Server..." python run_server.py clean: @echo "Cleaning up..." find . -type d -name __pycache__ -exec rm -rf {} + find . -type f -name "*.pyc" -delete find . -type f -name ".DS_Store" -delete rm -rf .pytest_cache echo "Clean complete" format: @echo "Formatting code with black..." black src/ run_*.py echo "Format complete" lint: @echo "Checking code quality..." flake8 src/ run_*.py mypy src/ run_*.py echo "Lint complete" test: @echo "Running tests..." pytest tests/ -v docs: @echo "" @echo "📚 EcoMCP Documentation" @echo "=======================" @echo "" @echo "1. QUICK_START.md - Get started in 2 minutes" @echo "2. STRUCTURE.md - Project structure overview" @echo "3. DEVELOPER_GUIDE.md - Complete developer guide" @echo "4. CLEANUP_SUMMARY.md - Migration details" @echo "" @echo "View with: cat " @echo "" archive-show: @echo "Archived files (old versions):" @ls -lh archive/ @echo "" @echo "These files can be deleted after confirming new structure works" .DEFAULT_GOAL := help