23 lines
486 B
Makefile
23 lines
486 B
Makefile
GRADLE ?= $(shell if [ -x ./gradlew ]; then echo ./gradlew; else echo gradle; fi)
|
|
|
|
.PHONY: build-debug test lint clean validate-structure
|
|
|
|
build-debug:
|
|
$(GRADLE) :app:assembleDebug
|
|
|
|
test:
|
|
$(GRADLE) testDebugUnitTest
|
|
|
|
lint:
|
|
$(GRADLE) :app:lintDebug
|
|
|
|
clean:
|
|
$(GRADLE) clean
|
|
|
|
validate-structure:
|
|
test -f AGENTS.md
|
|
test -f project-docs/handoff/00-START-HERE.md
|
|
test -f project-docs/implementation/phase-plan.md
|
|
test -f .gitea/workflows/android-apk.yml
|
|
test -f app/build.gradle.kts
|