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:
7
Makefile
7
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user