Commit 1bf91b05 authored by JPeg's avatar JPeg
Browse files

Makefile: add target build-and-run

Rebuilds package, if needed, (re)installs it and runs it using
the "monkey" command.
parent 3c0c9acf
......@@ -92,3 +92,9 @@ install:
@echo "Waiting for a device to be ready..." && adb wait-for-device
@echo "Installing package" && adb install -r $(VLC_APK)
@echo "=== Running application on device ==="
@adb wait-for-device && adb shell monkey -p -s 0 1
build-and-run: vlc.apk install run
@echo "=== Application is running ==="
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment