diff --git a/Makefile b/Makefile index 6ba8895..d7de2af 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,22 @@ +.PHONY: all +all: install-all -all: docker-compose-build.log build-all install-all +.PHONY: run-webview +run-webview: install-webview + adb shell am start -n app.example/.ExampleApp .PHONY: build-all build-all: build-webview build-native .PHONY: build-webview -build-webview: +build-webview: docker-compose-build.log docker-compose run --rm compile webview ln -sf apk/webview/result/example.app.apk ./; test -e ./example.app.apk || rm ./example.app.apk .PHONY: build-native -build-native: +build-native: docker-compose-build.log docker-compose run --rm compile native #ln -sf apk/native/result/example.app.apk ./; test -e ./example.app.apk || rm ./example.app.apk @@ -20,11 +24,11 @@ build-native: install-all: install-webview install-native .PHONY: install-webview -install-webview: +install-webview: build-webview adb install -r ./example.app.apk .PHONY: install-native -install-native: +install-native: build-native true #adb install -r ./example.app.apk