mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +01:00
Make the build script automatically generate the editor apk when needed.
This commit is contained in:
parent
57354fd52a
commit
887e33f32d
@ -499,8 +499,12 @@ if len(sys.argv) > 1:
|
|||||||
|
|
||||||
os.chdir(full_path + 'platform/android/java/')
|
os.chdir(full_path + 'platform/android/java/')
|
||||||
|
|
||||||
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates')
|
if 'e' in arg: #editor
|
||||||
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates', shell=True)
|
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotEditor')
|
||||||
|
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotEditor', shell=True)
|
||||||
|
else: #normal templates
|
||||||
|
print('Running command: ' + get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates')
|
||||||
|
subprocess.call(get_exports_for('global') + get_additional_commands_for('global') + get_exports_for('android') + get_additional_commands_for('android') + './gradlew generateGodotTemplates', shell=True)
|
||||||
elif 'j' in arg:
|
elif 'j' in arg:
|
||||||
build_string += 'platform=javascript'
|
build_string += 'platform=javascript'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user