mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 00:30:22 +08:00
Fixed sorting bug
This commit is contained in:
parent
e8d7871de2
commit
67693dc639
5978
assets/Makefile
5978
assets/Makefile
File diff suppressed because it is too large
Load Diff
@ -149,8 +149,12 @@ def _get_py_targets_subset(all_targets: Set[str], subset: str,
|
|||||||
all_targets,
|
all_targets,
|
||||||
subset=subset)
|
subset=subset)
|
||||||
|
|
||||||
py_targets.sort()
|
# Need to sort these combined to keep pairs together.
|
||||||
pyc_targets.sort()
|
combined_targets = [(py_targets[i], pyc_targets[i])
|
||||||
|
for i in range(len(py_targets))]
|
||||||
|
combined_targets.sort()
|
||||||
|
py_targets = [t[0] for t in combined_targets]
|
||||||
|
pyc_targets = [t[1] for t in combined_targets]
|
||||||
|
|
||||||
out = (f'\nSCRIPT_TARGETS_PY{suffix} = \\\n ' +
|
out = (f'\nSCRIPT_TARGETS_PY{suffix} = \\\n ' +
|
||||||
' \\\n '.join(py_targets) + '\n')
|
' \\\n '.join(py_targets) + '\n')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user