# HereIAm Makefile # Simplified build commands .PHONY: help setup build dmg test clean dev install # Default target help: @echo "HereIAm Build System" @echo "====================" @echo "" @echo "Available targets:" @echo " setup - Install dependencies" @echo " dev - Run in development mode" @echo " build - Build .app bundle" @echo " dmg - Create distribution DMG" @echo " test - Test the built app" @echo " install - Install build dependencies" @echo " clean - Clean build artifacts" @echo " all - Build and create DMG" @echo "" # Setup development environment setup: @echo "๐Ÿ”ง Setting up development environment..." python3 -m venv .venv .venv/bin/pip install --upgrade pip .venv/bin/pip install -r requirements.txt @echo "โœ… Setup complete! Run 'source .venv/bin/activate' to activate." # Install build dependencies install: @echo "๐Ÿ“ฆ Installing build dependencies..." pip install -r requirements-build.txt # Run in development mode dev: @echo "๐Ÿš€ Running HereIAm in development mode..." python src/main.py # Build the app build: @echo "๐Ÿ”จ Building HereIAm.app..." ./build_app.sh # Create DMG dmg: build @echo "๐Ÿ“ฆ Creating distribution DMG..." ./create_dmg.sh # Test the built app test: @echo "๐Ÿงช Testing HereIAm.app..." ./test_app.sh # Clean build artifacts clean: @echo "๐Ÿงน Cleaning build artifacts..." rm -rf build/ rm -rf dist/ rm -rf __pycache__/ find . -name "*.pyc" -delete find . -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true @echo "โœ… Clean complete!" # Build everything all: clean build dmg test @echo "๐ŸŽ‰ Build complete! Check dist/ for your application."