1
0
forked from 0ad/0ad
0ad/source/tools
Dunedan 57308bb847
Avoid unnecessary computations
This refactors the script for cleaning the translations to get the
same result by doing less. This is achieved by the following changes:

- Use glob-patterns for finding the files to clean more efficiently,
  without the need to exclude collected files again.
- Only write files which are supposed to be modified (previously all
  portable object files did get rewritten by this script, no matter if
  it did change something or not).
- Stop searching for sections in files to clean up, once they are
  already passed.
2024-09-22 07:59:07 +02:00
..
atlas Don't use std::shared_ptr to store m_ScriptContext and m_ScriptInterface in the CGUIManager 2024-06-27 19:09:30 +00:00
cmpgraph Add executable bits for files with shebangs 2024-08-26 07:46:38 +02:00
dist Add EditorConfig options for Python 2024-09-17 11:03:15 +02:00
entdocs Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
entgraph Fix line endings of all files in source/ except source/third_party/. 2016-07-25 09:07:45 +00:00
entity Specify the Python target version in ruff.toml 2024-09-21 20:54:24 +02:00
fontbuilder2 Enable various ruff rules 2024-09-21 20:54:30 +02:00
i18n Avoid unnecessary computations 2024-09-22 07:59:07 +02:00
mapcompatibility Fix variable naming for map compatibility file 2024-09-13 11:04:05 +02:00
openlogsfolder Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
profiler2 Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
replayprofile Add executable bits for files with shebangs 2024-08-26 07:46:38 +02:00
rlclient/python Specify the Python target version in ruff.toml 2024-09-21 20:54:24 +02:00
spirv Enable various ruff rules 2024-09-21 20:54:30 +02:00
springimport Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
templatesanalyzer Add EditorConfig options for Python 2024-09-17 11:03:15 +02:00
templatessorter templatessorter.sh: move to posix shell 2024-08-29 12:55:26 +02:00
tracelogger Fix issues pointed out by shellcheck 2024-08-28 18:23:18 +02:00
webservices Add executable bits for files with shebangs 2024-08-26 07:46:38 +02:00
xmlvalidator Enable various ruff rules 2024-09-21 20:54:30 +02:00
LICENSE.txt Use PEP 8 naming conventions for fontbuilder2 2024-09-03 14:01:47 +02:00