virtualx-engine/platform/android
Rémi Verschelde 5011afcb6a Export: Improve usability of command line interface
I'm barely scratching the surface of the changes needed to make the
--export command line interface easy to use, but this should already
improve things somewhat.

- Streamline `can_export()` templates check in all platforms, checking
  first for the presence of official templates, then of any defined
  custom template, and reporting on the absence of any.
  Shouldn't change the actual return value much which is still true if
  either release or debug is usable - we might want to change that
  eventually and better validate against the requested target.

- Fix discrepancy between platforms using `custom_package/debug` and
  `custom_template/debug` (resp. `release`).
  All now use `custom_template`, which will break compatibility for
  `export_presets.cfg` with earlier projects (but is easy to fix).

- Use `can_export()` when attempting a command line export and report
  the same errors that would be shown in the editor.

- Improve error reporting after a failed export attempt, handling
  missing template and invalid path more gracefully.

- Cleanup of unused stuff in EditorNode around the export workflow.

- Improve --export documentation in --help a bit.

Fixes #16949 (at least many of the misunderstandings listed there).
Fixes #18470.
2020-01-07 14:25:56 +01:00
..
export Export: Improve usability of command line interface 2020-01-07 14:25:56 +01:00
java Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_driver_jandroid.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_driver_jandroid.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_driver_opensl.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_driver_opensl.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
detect.py Android: Style fixes to manifest and build.gradle 2019-08-27 11:16:55 +02:00
dir_access_jandroid.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dir_access_jandroid.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_android.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_android.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_jandroid.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_access_jandroid.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_class_wrapper.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_class_wrapper.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_io_wrapper.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_io_wrapper.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_lib_jni.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_lib_jni.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_wrapper.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
java_godot_wrapper.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
net_socket_android.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
net_socket_android.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
os_android.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
os_android.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
platform_config.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
power_android.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
power_android.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Add Android NetSocket implementation. 2019-12-14 18:10:36 +01:00
string_android.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
thread_jandroid.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
thread_jandroid.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00