MCPcopy Create free account
hub / github.com/doldecomp/mkdd / objects

Method objects

tools/project.py:249–257  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

247 # Creates a map of object names to Object instances
248 # Options are fully resolved from the library and object
249 def objects(self) -> Dict[str, Object]:
250 out = {}
251 for lib in self.libs or {}:
252 objects: List[Object] = lib["objects"]
253 for obj in objects:
254 if obj.name in out:
255 sys.exit(f"Duplicate object name {obj.name}")
256 out[obj.name] = obj.resolve(self, lib)
257 return out
258
259 # Gets the output path for build-related files.
260 def out_path(self) -> Path:

Callers 1

generate_buildFunction · 0.80

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected