fix: wrong shuttle_index.json format

Each user project info object was wrapped with an extra array. Also added "tiles" property for each user project.
This commit is contained in:
Uri Shaked
2023-07-22 22:38:46 +03:00
parent 26785bea0e
commit 849e644627
+2 -1
View File
@@ -62,9 +62,10 @@ class CaravelConfig():
"macro": module_name,
"x": module['x'],
"y": module['y'],
"tiles": f"{module['width']}x{module['height']}",
"repo": project.git_url,
"commit": project.commit_id,
},
}
mux_index_reverse[module_name] = mux_address
for project in self.projects: