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

Method validate

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

Source from the content-addressed store, hash-verified

229 self.progress_data_fancy_item: str = ""
230
231 def validate(self) -> None:
232 required_attrs = [
233 "build_dir",
234 "src_dir",
235 "tools_dir",
236 "check_sha_path",
237 "config_path",
238 "ldflags",
239 "linker_version",
240 "libs",
241 "version",
242 ]
243 for attr in required_attrs:
244 if getattr(self, attr) is None:
245 sys.exit(f"ProjectConfig.{attr} missing")
246
247 # Creates a map of object names to Object instances
248 # Options are fully resolved from the library and object

Callers 2

generate_buildFunction · 0.80
calculate_progressFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected