Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci]

This commit is contained in:
saschawillems 2017-03-18 16:19:52 +01:00
parent b47f250e6c
commit d02e470355
9 changed files with 145 additions and 92 deletions

14
android/install-all.py Normal file
View file

@ -0,0 +1,14 @@
# Install all examples to connected device(s)
import subprocess
import sys
answer = input("Install all vulkan examples to attached device, this may take some time! (Y/N)").lower() == 'y'
if answer:
BUILD_ARGUMENTS = ""
for arg in sys.argv[1:]:
if arg == "-validation":
BUILD_ARGUMENTS += "-validation"
if subprocess.call("python build-all.py -deploy %s" % BUILD_ARGUMENTS) != 0:
print("Error: Not all examples may have been installed!")
sys.exit(-1)