Files
HereIAm/Makefile
Jerico Thomas c726cc0716 Initial commit: HereIAm mouse movement monitor
- Complete macOS application with PyQt5 GUI
- Smart mouse monitoring with configurable timing
- System menu bar integration with adaptive theming
- Comprehensive build system with PyInstaller
- Professional DMG creation for distribution
- Full documentation and testing scripts
2025-07-25 13:38:33 -04:00

68 lines
1.7 KiB
Makefile

# 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."