-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 670 Bytes
/
Makefile
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
APP_NAME=long-dream
PACKAGE=com.kt3k.app.ld
ACTIVITY=$(PACKAGE).BaseActivity
CORE_DIR=$(APP_NAME)-core
.PHONY: assets build clean debug-install device-launch-app device-logcat
device-debug: assets build debug-install device-launch-app device-logcat
@echo
assets:
cd bower_components/$(CORE_DIR) ; bundle install ; BASE_DIR=../.. BUILD_DIR=src/main/assets bundle exec middleman build --verbose
build:
./gradlew build
clean:
./gradlew clean
debug-install:
adb install -r build/outputs/apk/$(APP_NAME)-android-debug-unaligned.apk
device-launch-app:
adb shell am start -n $(PACKAGE)/$(ACTIVITY)
device-logcat:
adb logcat *:E
bower_components:
bower install