mirror of
https://github.com/elliotnunn/BuildCubeE.git
synced 2024-11-19 00:05:25 +00:00
Add subfolder to BuildResults
This commit is contained in:
parent
3a78bf403d
commit
54ab771bf7
@ -125,7 +125,7 @@ nextstage('Creating BuildResults')
|
||||
folder_levels = [
|
||||
['BuildResults'],
|
||||
['RISC', 'ROM', 'LC930', 'dbLite'],
|
||||
['Image', 'Lib', 'Obj', 'Rsrc', 'Text'],
|
||||
['Image', 'Lib', 'Obj:Interface', 'Rsrc', 'Text'],
|
||||
]
|
||||
|
||||
every_folder = [()]
|
||||
@ -136,9 +136,10 @@ for level in folder_levels:
|
||||
for folder_path in every_folder:
|
||||
base = g_volume
|
||||
for element in folder_path:
|
||||
nextbase = base.get(element, Folder())
|
||||
base[element] = nextbase
|
||||
base = nextbase
|
||||
for subelement in element.split(':'):
|
||||
nextbase = base.get(subelement, Folder())
|
||||
base[subelement] = nextbase
|
||||
base = nextbase
|
||||
|
||||
########################################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user