libmakepkg/tidy: give scripts a priority order

This ensures (e.g.) that the "emptydirs" script runs last after
unneeded files have been deleted.

Fixes #184.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Rudy 2025-05-17 13:17:47 +10:00 committed by Allan McRae
parent e392f01a94
commit af54cd4ee1
8 changed files with 7 additions and 7 deletions

View file

@ -1,13 +1,13 @@
libmakepkg_module = 'tidy'
sources = [
'docs.sh.in',
'emptydirs.sh.in',
'libtool.sh.in',
'purge.sh.in',
'staticlibs.sh.in',
'strip.sh.in',
'zipman.sh.in',
'10-docs.sh.in',
'10-libtool.sh.in',
'10-staticlibs.sh.in',
'50-purge.sh.in',
'50-strip.sh.in',
'50-zipman.sh.in',
'90-emptydirs.sh.in',
]
foreach src : sources