Sort file list when generating then main file so it will produce the same output on all platforms.
This commit is contained in:
parent
9482ed0b0a
commit
6593aae788
@ -11,11 +11,11 @@ def Main (argv):
|
||||
|
||||
engineFiles = []
|
||||
sourceFolder = os.path.join (rootDir, 'source', 'engine')
|
||||
for dirName in os.listdir (sourceFolder):
|
||||
for dirName in sorted (os.listdir (sourceFolder)):
|
||||
dirPath = os.path.join (sourceFolder, dirName)
|
||||
if not os.path.isdir (dirPath):
|
||||
continue
|
||||
for fileName in os.listdir (dirPath):
|
||||
for fileName in sorted (os.listdir (dirPath)):
|
||||
engineFiles.append ({
|
||||
'dirName': dirName,
|
||||
'fileName': fileName
|
||||
|
||||
Loading…
Reference in New Issue
Block a user