Add apk target to Makefile for release APK builds

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-24 20:26:27 -07:00
parent 8b13a61832
commit b8fb85c5f0

View File

@@ -5,7 +5,7 @@ AVD ?= DC-1
PACKAGE := net.metacircular.engpad PACKAGE := net.metacircular.engpad
ACTIVITY := $(PACKAGE).MainActivity ACTIVITY := $(PACKAGE).MainActivity
.PHONY: build test lint clean run devrun all .PHONY: build test lint clean run devrun apk all
# Build everything (compile + test + lint) # Build everything (compile + test + lint)
all: lint test build all: lint test build
@@ -26,6 +26,11 @@ test-one:
lint: lint:
./gradlew lint ./gradlew lint
# Build release APK
apk:
./gradlew assembleRelease
@echo "APK: app/build/outputs/apk/release/app-release-unsigned.apk"
# Clean build artifacts # Clean build artifacts
clean: clean:
./gradlew clean ./gradlew clean