forked from markusfisch/PieLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (25 loc) · 634 Bytes
/
Makefile
File metadata and controls
37 lines (25 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PACKAGE = de.markusfisch.android.pielauncher
all: debug install start
debug:
./gradlew assembleDebug
lint:
./gradlew lintDebug
infer: clean
infer -- ./gradlew assembleDebug
release: lint
./gradlew assembleRelease
bundle: lint
./gradlew bundleRelease
install:
adb $(TARGET) install -r app/build/outputs/apk/debug/app-debug.apk
start:
adb $(TARGET) shell 'am start -n \
$(PACKAGE).debug/$(PACKAGE).activity.HomeActivity'
uninstall:
adb $(TARGET) uninstall $(PACKAGE).debug
meminfo:
adb shell dumpsys meminfo $(PACKAGE).debug
avocado:
avocado $(shell fgrep -rl '<vector' app/src/main/res)
clean:
./gradlew clean