- Updated `.gitignore` and `.cursorignore` to exclude additional build artifacts and temporary files. - Enhanced `.cursorrules` with comprehensive AI guidelines and best practices. - Improved `.notes/directory_structure.md` to reflect the current project structure and module organization. - Updated `ARCHITECTURE.md` to include new insights on the system's modular design and privacy-first approach. - Refined `README.md` for clarity on project setup and usage instructions. - Added new entries in `.notes/meeting_notes.md` to document recent progress and decisions. - Ensured all changes align with the project's privacy and security standards.
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Crkl - Physical Phone Development
|
|
.PHONY: help build install run stop logs clean uninstall
|
|
|
|
ANDROID_HOME ?= $(HOME)/android-sdk
|
|
ADB := $(ANDROID_HOME)/platform-tools/adb
|
|
GRADLEW := ./gradlew
|
|
APK := app/build/outputs/apk/debug/app-debug.apk
|
|
|
|
help: ## Show available commands
|
|
@echo "Crkl - Physical Phone Commands"
|
|
@echo ""
|
|
@echo " make build - Build APK"
|
|
@echo " make install - Install to phone"
|
|
@echo " make run - Launch app"
|
|
@echo " make logs - Watch app logs"
|
|
@echo " make stop - Stop app"
|
|
@echo " make clean - Clean build"
|
|
@echo " make uninstall - Remove app"
|
|
@echo ""
|
|
|
|
build: ## Build APK
|
|
@echo "Building Crkl..."
|
|
@$(GRADLEW) assembleDebug
|
|
|
|
install: build ## Install to phone
|
|
@echo "Installing to phone..."
|
|
@$(ADB) install -r $(APK)
|
|
@echo "✓ Installed"
|
|
|
|
run: ## Launch app
|
|
@echo "Launching Crkl..."
|
|
@$(ADB) shell am start -n com.example.crkl/.MainActivity
|
|
|
|
logs: ## Watch app logs
|
|
@echo "Watching logs (Ctrl+C to stop)..."
|
|
@$(ADB) logcat -s CrklAccessibilityService:D OverlayView:D AndroidRuntime:E
|
|
|
|
stop: ## Stop app
|
|
@$(ADB) shell am force-stop com.example.crkl
|
|
|
|
clean: ## Clean build
|
|
@$(GRADLEW) clean
|
|
|
|
uninstall: ## Remove app
|
|
@$(ADB) uninstall com.example.crkl
|