godot/main
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
..
tests Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2019-11-29 10:56:55 +01:00
gamecontrollerdb_204.txt Sync controller mappings DB with SDL2 community repo 2018-09-27 09:54:21 +02:00
gamecontrollerdb_205.txt Sync controller mappings DB with SDL2 community repo 2018-09-27 09:54:21 +02:00
godotcontrollerdb.txt Input: Add mapping for X-Box One S controller on Linux 2018-10-02 09:14:47 +02:00
input_default.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
input_default.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
main.cpp Export: Improve usability of command line interface 2020-01-07 14:25:56 +01:00
main.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
main_builders.py Use base Color() constructors instead of Color::html() 2019-07-08 21:17:10 +02:00
main_timer_sync.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
main_timer_sync.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
performance.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
performance.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: do not build tests with tools=no 2019-09-26 16:12:07 +03:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
splash_editor.png Update AUTHORS and DONORS list 2019-12-13 13:50:33 +01:00