Alphabetize methods in MesonMain.

pull/11859/head
Jussi Pakkanen 2 years ago
parent 35291c9672
commit 23efc1abea
  1. 42
      mesonbuild/interpreter/mesonmain.py

@ -54,37 +54,37 @@ class MesonMain(MesonInterpreterObject):
super().__init__(subproject=interpreter.subproject) super().__init__(subproject=interpreter.subproject)
self.build = build self.build = build
self.interpreter = interpreter self.interpreter = interpreter
self.methods.update({'get_compiler': self.get_compiler_method, self.methods.update({'add_devenv': self.add_devenv_method,
'is_cross_build': self.is_cross_build_method, 'add_dist_script': self.add_dist_script_method,
'has_exe_wrapper': self.has_exe_wrapper_method, 'add_install_script': self.add_install_script_method,
'add_postconf_script': self.add_postconf_script_method,
'backend': self.backend_method,
'build_options': self.build_options_method,
'build_root': self.build_root_method,
'can_run_host_binaries': self.can_run_host_binaries_method, 'can_run_host_binaries': self.can_run_host_binaries_method,
'is_unity': self.is_unity_method,
'is_subproject': self.is_subproject_method,
'current_source_dir': self.current_source_dir_method, 'current_source_dir': self.current_source_dir_method,
'current_build_dir': self.current_build_dir_method, 'current_build_dir': self.current_build_dir_method,
'source_root': self.source_root_method, 'get_compiler': self.get_compiler_method,
'build_root': self.build_root_method, 'get_cross_property': self.get_cross_property_method,
'project_source_root': self.project_source_root_method, 'get_external_property': self.get_external_property_method,
'project_build_root': self.project_build_root_method,
'global_source_root': self.global_source_root_method,
'global_build_root': self.global_build_root_method, 'global_build_root': self.global_build_root_method,
'add_install_script': self.add_install_script_method, 'global_source_root': self.global_source_root_method,
'add_postconf_script': self.add_postconf_script_method, 'has_exe_wrapper': self.has_exe_wrapper_method,
'add_dist_script': self.add_dist_script_method, 'has_external_property': self.has_external_property_method,
'install_dependency_manifest': self.install_dependency_manifest_method, 'install_dependency_manifest': self.install_dependency_manifest_method,
'is_cross_build': self.is_cross_build_method,
'is_subproject': self.is_subproject_method,
'is_unity': self.is_unity_method,
'override_dependency': self.override_dependency_method, 'override_dependency': self.override_dependency_method,
'override_find_program': self.override_find_program_method, 'override_find_program': self.override_find_program_method,
'project_version': self.project_version_method, 'project_build_root': self.project_build_root_method,
'project_license': self.project_license_method, 'project_license': self.project_license_method,
'project_license_files': self.project_license_files_method, 'project_license_files': self.project_license_files_method,
'version': self.version_method,
'project_name': self.project_name_method, 'project_name': self.project_name_method,
'get_cross_property': self.get_cross_property_method, 'project_source_root': self.project_source_root_method,
'get_external_property': self.get_external_property_method, 'project_version': self.project_version_method,
'has_external_property': self.has_external_property_method, 'source_root': self.source_root_method,
'backend': self.backend_method, 'version': self.version_method,
'add_devenv': self.add_devenv_method,
'build_options': self.build_options_method,
}) })
def _find_source_script( def _find_source_script(

Loading…
Cancel
Save