1
0
forked from 0ad/0ad

Fix 557fa0312e by adding the js files to the list of dependencies. They were previously found under the gui folder.

Reported by: @Langbart
Fixes #6542

This was SVN commit r26909.
This commit is contained in:
Stan 2022-05-28 17:01:42 +00:00
parent 095838da0a
commit b9adbbd8be

View File

@ -456,6 +456,8 @@ class CheckRefs:
def add_gui_data(self):
self.logger.info("Loading GUI data...")
self.files.extend([str(fp) for (fp, ffp) in self.find_files('gui', 'js')])
self.files.extend([str(fp) for (fp, ffp) in self.find_files('gamesettings', 'js')])
self.files.extend([str(fp) for (fp, ffp) in self.find_files('autostart', 'js')])
self.files.extend([str(fp) for (fp, ffp) in self.find_files('art/textures/ui', *self.supportedTextureFormats)])
self.files.extend([str(fp) for (fp, ffp) in self.find_files('art/textures/selection', *self.supportedTextureFormats)])