godot/editor
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
..
collada Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
doc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
fileserver Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
icons Tint 3D light gizmos using the light's color 2020-01-01 00:54:25 +01:00
import Support GLTF2 alpha scissors. 2020-01-02 11:52:08 -08:00
plugins Fixes scaled scrolling of TextureRegion editor 2020-01-05 19:52:21 +08:00
translations Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_bezier_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_bezier_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor_plugins.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor_plugins.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_track_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
array_property_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
array_property_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_preview.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_preview.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
code_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
code_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
connections_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
connections_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
create_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
create_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dependency_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dependency_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary_property_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary_property_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_about.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_about.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_asset_installer.cpp Makes more strings translatable 2020-01-04 13:46:38 +08:00
editor_asset_installer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_atlas_packer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_atlas_packer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_audio_buses.cpp Makes more strings translatable 2020-01-04 13:46:38 +08:00
editor_audio_buses.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_autoload_settings.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_autoload_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_builders.py Some small fixes to warnings in python scripts 2019-07-11 22:26:04 +05:30
editor_data.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_data.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_dir_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_dir_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_export.cpp Export: Improve usability of command line interface 2020-01-07 14:25:56 +01:00
editor_export.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_feature_profile.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_feature_profile.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_file_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_file_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_file_system.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_file_system.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_folding.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_folding.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_fonts.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_fonts.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help_search.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help_search.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_inspector.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_inspector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_layouts_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_layouts_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_log.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_log.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_network_profiler.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_network_profiler.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_node.cpp Export: Improve usability of command line interface 2020-01-07 14:25:56 +01:00
editor_node.h Export: Improve usability of command line interface 2020-01-07 14:25:56 +01:00
editor_path.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_path.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_plugin_settings.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_plugin_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_profiler.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_profiler.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties_array_dict.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties_array_dict.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_properties.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_resource_preview.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_resource_preview.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_native.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_native.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_script.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run_script.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_run.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_scale.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_scale.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sectioned_inspector.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sectioned_inspector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_settings.cpp Enable the script editor line length guideline by default 2020-01-02 21:47:44 +01:00
editor_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_spin_slider.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_spin_slider.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sub_scene.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sub_scene.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_themes.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_themes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_vcs_interface.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_vcs_interface.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
export_template_manager.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
export_template_manager.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_type_cache.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_type_cache.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
filesystem_dock.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
filesystem_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
find_in_files.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
find_in_files.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
groups_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
groups_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
import_dock.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
import_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
inspector_dock.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
inspector_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multi_node_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multi_node_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node_dock.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pane_drag.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pane_drag.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
plugin_config_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
plugin_config_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_export.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_export.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_manager.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_manager.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_settings_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_settings_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_selector.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
property_selector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvrtc_compress.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvrtc_compress.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
quick_open.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
quick_open.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_exporters.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rename_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rename_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reparent_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reparent_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_settings_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
run_settings_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree_dock.cpp Fix error when closing Attach Node Script window 2020-01-02 12:31:31 +01:00
scene_tree_dock.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_tree_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_create_dialog.cpp [Mono]: the C# script icon is now visible in the editor. 2020-01-03 22:49:22 +01:00
script_create_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_editor_debugger.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_editor_debugger.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Fix uses of [].append instead of env.add_source_files() 2019-07-22 15:08:32 +02:00
settings_config_dialog.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
settings_config_dialog.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_editor_gizmos.cpp doc: Sync classref with current source 2020-01-03 15:09:09 +01:00
spatial_editor_gizmos.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00